pub struct GraphMetadata {
pub company_code: Option<String>,
pub created_date: Option<NaiveDate>,
pub total_transaction_volume: Decimal,
pub date_range: Option<(NaiveDate, NaiveDate)>,
}Expand description
Metadata about the graph.
Fields§
§company_code: Option<String>Company code (if single-company graph)
created_date: Option<NaiveDate>Creation date
total_transaction_volume: DecimalTotal transaction volume
date_range: Option<(NaiveDate, NaiveDate)>Date range covered
Trait Implementations§
Source§impl Clone for GraphMetadata
impl Clone for GraphMetadata
Source§fn clone(&self) -> GraphMetadata
fn clone(&self) -> GraphMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GraphMetadata
impl Debug for GraphMetadata
Source§impl Default for GraphMetadata
impl Default for GraphMetadata
Source§fn default() -> GraphMetadata
fn default() -> GraphMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GraphMetadata
impl<'de> Deserialize<'de> for GraphMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GraphMetadata
impl RefUnwindSafe for GraphMetadata
impl Send for GraphMetadata
impl Sync for GraphMetadata
impl Unpin for GraphMetadata
impl UnwindSafe for GraphMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more