pub struct ElemBalanceResult { /* private fields */ }
Implementations
impl ElemBalanceResult
impl ElemBalanceResult
Balance result definition implementation.
pub fn new() -> ElemBalanceResult
pub fn new() -> ElemBalanceResult
pub fn copy(&self) -> ElemBalanceResult
pub fn copy(&self) -> ElemBalanceResult
pub fn clear(&mut self)
pub fn clear(&mut self)
Clear all values.
pub fn prin_total(&self) -> usize
pub fn prin_total(&self) -> usize
pub fn prin_present(&self) -> usize
pub fn prin_present(&self) -> usize
Get the number of TYPE_PRINCIPAL_CHANGEs following first current value present with statistics set.
Return
- See description.
pub fn interest_total(&self) -> Decimal
pub fn interest_total(&self) -> Decimal
Get the total compounded interest charged not including any remaining interest.
Return
- See description.
pub fn interest_present(&self) -> Decimal
pub fn interest_present(&self) -> Decimal
pub fn sl_interest_total(&self) -> Decimal
pub fn sl_interest_total(&self) -> Decimal
Get the total straight-line interest charged not including any remaining interest.
Return
- See description.
pub fn sl_interest_present(&self) -> Decimal
pub fn sl_interest_present(&self) -> Decimal
pub fn acc_balance(&self) -> Decimal
pub fn acc_balance(&self) -> Decimal
pub fn balance_date(&self) -> usize
pub fn balance_date(&self) -> usize
pub fn prin_decrease(&self) -> Decimal
pub fn prin_decrease(&self) -> Decimal
Get the total value of TYPE_PRINCIPAL_CHANGE decreases without auxiliary set.
Return
- See description.
pub fn prin_increase(&self) -> Decimal
pub fn prin_increase(&self) -> Decimal
Get the total value of TYPE_PRINCIPAL_CHANGE increases without auxiliary set.
Return
- See description.
pub fn aux_active_decrease(&self) -> Decimal
pub fn aux_active_decrease(&self) -> Decimal
pub fn aux_active_increase(&self) -> Decimal
pub fn aux_active_increase(&self) -> Decimal
pub fn aux_passive_decrease(&self) -> Decimal
pub fn aux_passive_decrease(&self) -> Decimal
Get the value of passive TYPE_PRINCIPAL_CHANGE decreases with auxiliary set.
Return
- See description.
pub fn aux_passive_increase(&self) -> Decimal
pub fn aux_passive_increase(&self) -> Decimal
Get the value of passive TYPE_PRINCIPAL_CHANGE increases with auxiliary set.
Return
- See description.
pub fn acc_balance_seen(&self) -> bool
pub fn acc_balance_seen(&self) -> bool
Get the accrued interest balance seen.
Return
- True if accrued interest balance seen, otherwise false.
pub fn rule_of_78_seen(&self) -> bool
pub fn rule_of_78_seen(&self) -> bool
pub fn prin_first_index(&self) -> usize
pub fn prin_first_index(&self) -> usize
pub fn prin_first_stat_index(&self) -> usize
pub fn prin_first_stat_index(&self) -> usize
pub fn prin_first_pv_index(&self) -> usize
pub fn prin_first_pv_index(&self) -> usize
pub fn prin_first_stat_pv_index(&self) -> usize
pub fn prin_first_stat_pv_index(&self) -> usize
pub fn prin_last_index(&self) -> usize
pub fn prin_last_index(&self) -> usize
pub fn prin_last_stat_index(&self) -> usize
pub fn prin_last_stat_index(&self) -> usize
pub fn cur_first_pv_index(&self) -> usize
pub fn cur_first_pv_index(&self) -> usize
pub fn int_first_index(&self) -> usize
pub fn int_first_index(&self) -> usize
pub fn int_last_index(&self) -> usize
pub fn int_last_index(&self) -> usize
pub fn result_yield(&self) -> Decimal
pub fn result_yield(&self) -> Decimal
pub fn result_decimal(&self) -> Decimal
pub fn result_decimal(&self) -> Decimal
pub fn result_integer(&self) -> i32
pub fn result_integer(&self) -> i32
pub fn incr_prin_total(&mut self, param: usize)
pub fn incr_prin_total(&mut self, param: usize)
Increment the total number of TYPE_PRINCIPAL_CHANGEs with statistics set.
Arguments
param
- See description.
pub fn incr_prin_present(&mut self, param: usize)
pub fn incr_prin_present(&mut self, param: usize)
Increment the number of TYPE_PRINCIPAL_CHANGEs following first current value present with statistics set.
Arguments
param
- See description.
pub fn incr_interest_total(&mut self, param: Decimal)
pub fn incr_interest_total(&mut self, param: Decimal)
Increment the total compounded interest charged not including any remaining interest.
Arguments
param
- See description.
pub fn incr_interest_present(&mut self, param: Decimal)
pub fn incr_interest_present(&mut self, param: Decimal)
Increment the compounded interest following first current value present not including any remaining interest.
Arguments
param
- See description.
pub fn incr_sl_interest_total(&mut self, param: Decimal)
pub fn incr_sl_interest_total(&mut self, param: Decimal)
Increment the total straight-line interest charged not including any remaining interest.
Arguments
param
- See description.
pub fn incr_sl_interest_present(&mut self, param: Decimal)
pub fn incr_sl_interest_present(&mut self, param: Decimal)
Increment the straight-line interest following first current value present not including any remaining interest.
Arguments
param
- See description.
pub fn incr_prin_decrease(&mut self, param: Decimal)
pub fn incr_prin_decrease(&mut self, param: Decimal)
Increment the total value of TYPE_PRINCIPAL_CHANGE decreases without auxiliary set.
Arguments
param
- See description.
pub fn incr_prin_increase(&mut self, param: Decimal)
pub fn incr_prin_increase(&mut self, param: Decimal)
Increment the total value of TYPE_PRINCIPAL_CHANGE increases without auxiliary set.
Arguments
param
- See description.
pub fn incr_aux_active_decrease(&mut self, param: Decimal)
pub fn incr_aux_active_decrease(&mut self, param: Decimal)
Increment the value of active TYPE_PRINCIPAL_CHANGE decreases with auxiliary set.
Arguments
param
- See description.
pub fn incr_aux_active_increase(&mut self, param: Decimal)
pub fn incr_aux_active_increase(&mut self, param: Decimal)
Increment the value of active TYPE_PRINCIPAL_CHANGE increases with auxiliary set.
Arguments
param
- See description.
pub fn incr_aux_passive_decrease(&mut self, param: Decimal)
pub fn incr_aux_passive_decrease(&mut self, param: Decimal)
Increment the value of passive TYPE_PRINCIPAL_CHANGE decreases with auxiliary set.
Arguments
param
- See description.
pub fn incr_aux_passive_increase(&mut self, param: Decimal)
pub fn incr_aux_passive_increase(&mut self, param: Decimal)
Increment the value of passive TYPE_PRINCIPAL_CHANGE increases with auxiliary set.
Arguments
param
- See description.
pub fn set_acc_balance(&mut self, param: Decimal)
pub fn set_acc_balance(&mut self, param: Decimal)
pub fn set_balance(&mut self, param: Decimal)
pub fn set_balance(&mut self, param: Decimal)
pub fn set_balance_date(&mut self, param: usize)
pub fn set_balance_date(&mut self, param: usize)
pub fn set_polarity(&mut self, param: i32)
pub fn set_polarity(&mut self, param: i32)
pub fn set_acc_balance_seen(&mut self, param: bool)
pub fn set_acc_balance_seen(&mut self, param: bool)
pub fn set_rule_of_78_seen(&mut self, param: bool)
pub fn set_rule_of_78_seen(&mut self, param: bool)
pub fn set_prin_first_index(&mut self, param: usize)
pub fn set_prin_first_index(&mut self, param: usize)
pub fn set_prin_first_stat_index(&mut self, param: usize)
pub fn set_prin_first_stat_index(&mut self, param: usize)
pub fn set_prin_first_pv_index(&mut self, param: usize)
pub fn set_prin_first_pv_index(&mut self, param: usize)
pub fn set_prin_first_stat_pv_index(&mut self, param: usize)
pub fn set_prin_first_stat_pv_index(&mut self, param: usize)
pub fn set_prin_last_index(&mut self, param: usize)
pub fn set_prin_last_index(&mut self, param: usize)
pub fn set_prin_last_stat_index(&mut self, param: usize)
pub fn set_prin_last_stat_index(&mut self, param: usize)
pub fn set_cur_first_pv_index(&mut self, param: usize)
pub fn set_cur_first_pv_index(&mut self, param: usize)
pub fn set_int_first_index(&mut self, param: usize)
pub fn set_int_first_index(&mut self, param: usize)
pub fn set_int_last_index(&mut self, param: usize)
pub fn set_int_last_index(&mut self, param: usize)
pub fn set_result_yield(&self, param: Decimal)
pub fn set_result_yield(&self, param: Decimal)
pub fn set_result_decimal(&self, param: Decimal)
pub fn set_result_decimal(&self, param: Decimal)
pub fn set_result_integer(&self, param: i32)
pub fn set_result_integer(&self, param: i32)
Trait Implementations
impl Default for ElemBalanceResult
impl Default for ElemBalanceResult
Balance result definition default implementation.
Auto Trait Implementations
impl !RefUnwindSafe for ElemBalanceResult
impl Send for ElemBalanceResult
impl !Sync for ElemBalanceResult
impl Unpin for ElemBalanceResult
impl UnwindSafe for ElemBalanceResult
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