Struct finql_data::cash_flow::CashFlow [−][src]
pub struct CashFlow { pub amount: CashAmount, pub date: NaiveDate, }
Expand description
Container for a single cash flow
Fields
amount: CashAmount
date: NaiveDate
Implementations
Construct new cash flow
Check, whether cash flows could be aggregated
Compare to cash flows for equality within a given absolute tolerance
Trait Implementations
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 RefUnwindSafe for CashFlow
impl UnwindSafe for CashFlow
Blanket Implementations
Mutably borrows from an owned value. Read more