[][src]Struct finance_solution::NpvSeries

pub struct NpvSeries(_);

Implementations

impl NpvSeries[src]

pub fn filter<P>(&self, predicate: P) -> Self where
    P: Fn(&&NpvPeriod) -> bool
[src]

pub fn print_table(&self)[src]

pub fn print_table_locale(&self, locale: &Locale, precision: usize)[src]

pub fn print_ab_comparison(&self, other: &NpvSeries)[src]

pub fn print_ab_comparison_locale(
    &self,
    other: &NpvSeries,
    locale: &Locale,
    precision: usize
)
[src]

pub fn max_discounted_cashflow(&self) -> f64[src]

Return the max discounted cashflow (present value of the cashflow)

pub fn min_discounted_cashflow(&self) -> f64[src]

Return the min discounted cashflow (present value of the cashflow)

Trait Implementations

impl Debug for NpvSeries[src]

impl Deref for NpvSeries[src]

type Target = Vec<NpvPeriod>

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.