Struct amfnengine::core::elem_extension::ElemExtension [−]
The extension element of an event.
Implementations
impl ElemExtension
The extension implementation.
pub fn new_current_value(current_value_param: ElemCurrentValue) -> ElemExtension
Return a new current value event.
Arguments
current_value_param
- Principal change to add.
Return
- See description.
pub fn new_interest_change(
interest_change_param: ElemInterestChange
) -> ElemExtension
interest_change_param: ElemInterestChange
) -> ElemExtension
Return a new interest change event.
Arguments
interest_change_param
- Principal change to add.
Return
- See description.
pub fn new_principal_change(
principal_change_param: ElemPrincipalChange
) -> ElemExtension
principal_change_param: ElemPrincipalChange
) -> ElemExtension
Return a new principal change event.
Arguments
principal_change_param
- Principal change to add.
Return
- See description.
pub fn new_statistic_value(
statistic_value_param: ElemStatisticValue
) -> ElemExtension
statistic_value_param: ElemStatisticValue
) -> ElemExtension
Return a new statistic value event.
Arguments
statistic_value_param
- Principal change to add.
Return
- See description.
pub fn copy(&self) -> ElemExtension
pub fn equal(&self, elem: &ElemExtension) -> bool
Compare this extension to the extension parameter.
Arguments
elem
- Extension to compare.
Return
- True if equal, otherwise false.
pub fn extension_type(&self) -> ExtensionType
pub fn extension_value(&self) -> &ExtensionValue
pub fn extension_eom(&self) -> bool
pub fn pc_type(&self) -> PrincipalType
pub fn pc_eom(&self) -> bool
pub fn pc_principal_first(&self) -> bool
Get the value of apply change to principal balance first for simple interest.
Return
- See description.
pub fn pc_balance_statistics(&self) -> bool
pub fn pc_auxiliary(&self) -> bool
pub fn pc_aux_passive(&self) -> bool
pub fn cv_eom(&self) -> bool
pub fn cv_passive(&self) -> bool
pub fn cv_present(&self) -> bool
pub fn ic_method(&self) -> MethodType
pub fn ic_day_count_basis(&self) -> DayCountType
pub fn ic_days_in_year(&self) -> usize
pub fn ic_effective_frequency(&self) -> FrequencyType
pub fn ic_interest_frequency(&self) -> FrequencyType
pub fn ic_round_balance(&self) -> RoundType
pub fn ic_round_decimal_digits(&self) -> Decimal
pub fn sv_name(&self) -> &str
pub fn sv_eom(&self) -> bool
pub fn sv_is_final(&self) -> bool
pub fn set_principal_change(
&mut self,
principal_change_param: ElemPrincipalChange
)
&mut self,
principal_change_param: ElemPrincipalChange
)
pub fn set_pc_type(&mut self, param: PrincipalType)
pub fn set_pc_eom(&mut self, param: bool)
pub fn set_pc_principal_first(&mut self, param: bool)
Set the value of apply change to principal balance first for simple interest.
Arguments
param
- See description.
pub fn set_pc_balance_statistics(&mut self, param: bool)
pub fn set_pc_auxiliary(&mut self, param: bool)
pub fn set_pc_aux_passive(&mut self, param: bool)
pub fn set_current_value(&mut self, current_value_param: ElemCurrentValue)
pub fn set_cv_eom(&mut self, param: bool)
pub fn set_cv_passive(&mut self, param: bool)
pub fn set_cv_present(&mut self, param: bool)
pub fn set_interest_change(&mut self, interest_change_param: ElemInterestChange)
pub fn set_ic_method(&mut self, param: MethodType)
pub fn set_ic_day_count_basis(&mut self, param: DayCountType)
pub fn set_ic_days_in_year(&mut self, param: usize)
pub fn set_ic_effective_frequency(&mut self, param: FrequencyType)
pub fn set_ic_interest_frequency(&mut self, param: FrequencyType)
pub fn set_ic_round_balance(&mut self, param: RoundType)
pub fn set_ic_round_decimal_digits(&mut self, param: Decimal)
pub fn set_statistic_value(&mut self, statistic_value_param: ElemStatisticValue)
pub fn set_sv_name(&mut self, param: &str)
pub fn set_sv_eom(&mut self, param: bool)
pub fn set_sv_final(&mut self, param: bool)
Auto Trait Implementations
impl RefUnwindSafe for ElemExtension
impl Send for ElemExtension
impl Sync for ElemExtension
impl Unpin for ElemExtension
impl UnwindSafe for ElemExtension
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>,