Struct amfnengine::engine::elem_cashflow::ElemCashflow [−]
Implementations
impl ElemCashflow
The cashflow element definition implementation.
pub fn new(
name_param: &str,
preferences_param: ElemPreferences,
list_event_param: Option<ListEvent>,
calculate_param: CalcCalculate
) -> ElemCashflow
name_param: &str,
preferences_param: ElemPreferences,
list_event_param: Option<ListEvent>,
calculate_param: CalcCalculate
) -> ElemCashflow
Create and return a new cashflow element.
Arguments
name_param
- Name of cashflow.preferences_param
- Cashflow preferences.list_event_param
- Event list.calculate_param
- Calculate element.
Return
- See description.
pub fn name(&self) -> &str
pub fn preferences(&self) -> &ElemPreferences
pub fn preferences_mut(&mut self) -> &mut ElemPreferences
pub fn list_event(&self) -> &ListEvent
pub fn list_event_mut(&mut self) -> &mut ListEvent
pub fn list_amortization(&self) -> &ListAmortization
pub fn list_amortization_mut(&mut self) -> &mut ListAmortization
pub fn cashflow_valid(&self) -> bool
pub fn updated(&self) -> bool
pub fn calculate(&self) -> &CalcCalculate
pub fn list_statistic_helper(&self) -> &ListStatisticHelper
pub fn elem_balance_result(&self) -> &ElemBalanceResult
pub fn last_amortization_index(&self) -> usize
pub fn set_name(&mut self, name_param: &str)
pub fn set_preferences(&mut self, preferences_param: ElemPreferences)
pub fn set_list_event(&mut self, list_event_param: ListEvent)
pub fn set_list_amortization(&mut self, list_am_param: ListAmortization)
pub fn set_cashflow_valid(&mut self, cashflow_valid_param: bool)
pub fn set_updated(&mut self, updated_param: bool)
pub fn set_calculate(&mut self, calculate_param: CalcCalculate)
pub fn set_list_statistic_helper(
&mut self,
statistic_helper_param: ListStatisticHelper
)
&mut self,
statistic_helper_param: ListStatisticHelper
)
pub fn set_elem_balance_result(
&mut self,
elem_balance_result_param: ElemBalanceResult
)
&mut self,
elem_balance_result_param: ElemBalanceResult
)
pub fn set_last_amortization_index(
&mut self,
last_amortization_index_param: usize
)
&mut self,
last_amortization_index_param: usize
)
Auto Trait Implementations
impl !RefUnwindSafe for ElemCashflow
impl !Send for ElemCashflow
impl !Sync for ElemCashflow
impl Unpin for ElemCashflow
impl !UnwindSafe for ElemCashflow
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> 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.
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>,