pub struct NperSolution {
pub periodic_rate: f64,
pub periods: f64,
pub payment: f64,
pub present_value_total: f64,
pub future_value_total: f64,
pub due_at_beginning: bool,
pub formula: String,
}Expand description
Solution struct for an NPER calculation.
Fields§
§periodic_rate: f64§periods: f64§payment: f64§present_value_total: f64§future_value_total: f64§due_at_beginning: bool§formula: StringImplementations§
Trait Implementations§
Source§impl Clone for NperSolution
impl Clone for NperSolution
Source§fn clone(&self) -> NperSolution
fn clone(&self) -> NperSolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NperSolution
impl RefUnwindSafe for NperSolution
impl Send for NperSolution
impl Sync for NperSolution
impl Unpin for NperSolution
impl UnsafeUnpin for NperSolution
impl UnwindSafe for NperSolution
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more