pub struct CashflowSolution { /* private fields */ }
Expand description
A record of a cash flow calculation such as payment, net present value, or the present value or future value of an annuity.
Implementations§
Source§impl CashflowSolution
impl CashflowSolution
pub fn calculated_field(&self) -> &CashflowVariable
pub fn rate(&self) -> f64
pub fn periods(&self) -> u32
pub fn present_value(&self) -> f64
pub fn future_value(&self) -> f64
pub fn due_at_beginning(&self) -> bool
pub fn payment(&self) -> f64
pub fn sum_of_payments(&self) -> f64
pub fn sum_of_interest(&self) -> f64
pub fn formula(&self) -> &str
pub fn symbolic_formula(&self) -> &str
Trait Implementations§
Source§impl Clone for CashflowSolution
impl Clone for CashflowSolution
Source§fn clone(&self) -> CashflowSolution
fn clone(&self) -> CashflowSolution
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 moreAuto Trait Implementations§
impl Freeze for CashflowSolution
impl RefUnwindSafe for CashflowSolution
impl Send for CashflowSolution
impl Sync for CashflowSolution
impl Unpin for CashflowSolution
impl UnwindSafe for CashflowSolution
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