pub struct ElemPrincipalChange { /* private fields */ }
Implementations
impl ElemPrincipalChange
impl ElemPrincipalChange
The principal change implementation.
pub fn new(
type_param: PrincipalType,
eom_param: bool,
principal_first_param: bool,
balance_statistics_param: bool,
auxiliary_param: bool,
aux_passive_param: bool
) -> ElemPrincipalChange
pub fn new(
type_param: PrincipalType,
eom_param: bool,
principal_first_param: bool,
balance_statistics_param: bool,
auxiliary_param: bool,
aux_passive_param: bool
) -> ElemPrincipalChange
Create a new principal change element.
Arguments
type_param
- Principal change type.eom_param
- End-of-month.principal_first_param
- Principal first.balance_statistics_param
- Balance statistics.auxiliary_param
- Auxiliary parameter.aux_passive_param
- Auxiliary passive.
Return
- See description.
pub fn copy(&self) -> ElemPrincipalChange
pub fn copy(&self) -> ElemPrincipalChange
pub fn equal(&self, elem_principal_change: &ElemPrincipalChange) -> bool
pub fn equal(&self, elem_principal_change: &ElemPrincipalChange) -> bool
pub fn pc_type(&self) -> PrincipalType
pub fn pc_type(&self) -> PrincipalType
pub fn principal_first(&self) -> bool
pub fn principal_first(&self) -> bool
Get the value of apply change to principal balance first for simple interest.
Return
- See description.
pub fn balance_statistics(&self) -> bool
pub fn balance_statistics(&self) -> bool
pub fn aux_passive(&self) -> bool
pub fn aux_passive(&self) -> bool
pub fn set_type(&mut self, type_param: PrincipalType)
pub fn set_type(&mut self, type_param: PrincipalType)
pub fn set_principal_first(&mut self, principal_first_param: bool)
pub fn set_principal_first(&mut self, principal_first_param: bool)
Set the value of apply change to principal balance first for simple interest.
Arguments
principal_first_param
- See description.
pub fn set_balance_statistics(&mut self, balance_statistics_param: bool)
pub fn set_balance_statistics(&mut self, balance_statistics_param: bool)
Set the value of include with balance result statistics.
Arguments
balance_statistics_param
- See description.
pub fn set_auxiliary(&mut self, auxiliary_param: bool)
pub fn set_auxiliary(&mut self, auxiliary_param: bool)
pub fn set_aux_passive(&mut self, aux_passive_param: bool)
pub fn set_aux_passive(&mut self, aux_passive_param: bool)
Auto Trait Implementations
impl RefUnwindSafe for ElemPrincipalChange
impl Send for ElemPrincipalChange
impl Sync for ElemPrincipalChange
impl Unpin for ElemPrincipalChange
impl UnwindSafe for ElemPrincipalChange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more