[−][src]Enum finance_solution::Schedule
Variants
Implementations
impl Schedule
[src]
pub fn new_repeating(value_type: ValueType, value: f64, periods: u32) -> Self
[src]
pub fn new_custom(value_type: ValueType, values: &[f64]) -> Self
[src]
pub fn is_payment(&self) -> bool
[src]
pub fn is_rate(&self) -> bool
[src]
pub fn value_type(&self) -> &ValueType
[src]
pub fn value(&self) -> Option<f64>
[src]
pub fn get(&self, index: usize) -> f64
[src]
pub fn max(&self) -> Option<f64>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnwindSafe for Schedule
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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>,