Struct finql_data::cash_flow::CashFlow [−][src]
Container for a single cash flow
Fields
amount: CashAmountdate: NaiveDateImplementations
impl CashFlow[src]
pub fn new(amount: f64, currency: Currency, date: NaiveDate) -> CashFlow[src]
Construct new cash flow
pub fn aggregatable(&self, cf: &CashFlow) -> bool[src]
Check, whether cash flows could be aggregated
pub fn fuzzy_cash_flows_cmp_eq(&self, cf: &CashFlow, tol: f64) -> bool[src]
Compare to cash flows for equality within a given absolute tolerance
Trait Implementations
impl Clone for CashFlow[src]
impl Copy for CashFlow[src]
impl Debug for CashFlow[src]
impl<'de> Deserialize<'de> for CashFlow[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Display for CashFlow[src]
impl Neg for CashFlow[src]
type Output = CashFlow
The resulting type after applying the - operator.
fn neg(self) -> Self::Output[src]
impl Serialize for CashFlow[src]
Auto Trait Implementations
impl RefUnwindSafe for CashFlow
impl Send for CashFlow
impl Sync for CashFlow
impl Unpin for CashFlow
impl UnwindSafe for CashFlow
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,