pub struct ElemEvent { /* private fields */ }

Implementations

The event element implementation.

Create a new event cashflow element.

Arguments
  • event_type_param - Event type.
  • event_date_param - Event date.
  • date_expr_param - Date expression.
  • sort_order_param - Sort order.
  • value_param - Value parameter.
  • value_expr_param - Value expression parameter.
  • value_expr_balance_param - Value expression balance.
  • periods_param - Periods parameter.
  • periods_expr_param - Periods expression.
  • skip_mask_len_param - Skip mask length.
  • skip_mask_param - Skip mask.
  • intervals_param - Intervals parameter.
  • frequency_param - Frequency parameter.
  • extension_param - Extension (current value, interest change, principal change, statistic value).
  • list_parameter_param - List parameter.
  • list_descriptor_param - List descriptor.
  • event_name_param - Optional event name.
  • next_name_param - Optional next event name.
Return
  • See description.

Get the event type value.

Return
  • See description.

Get the event date value.

Return
  • See description.

Get the date expression value.

Return
  • See description.

Get the sort order value.

Return
  • See description.

Get the element value.

Return
  • See description.

Get the element value expression.

Return
  • See description.

Get the element value expression balance.

Return
  • See description.

Get the periods value.

Return
  • See description.

Get the periods expression value.

Return
  • See description.

Get the skip mask length.

Return
  • See description.

Get the skip mask value.

Return
  • See description.

Get the intervals value.

Return
  • See description.

Get the frequency value.

Return
  • See description.

Get the list parameter.

Return
  • See description.

Get the mutable list parameter.

Return
  • See description.

Get the list descriptor.

Return
  • See description.

Get the event name.

Return
  • See description.

Get the next name.

Return
  • See description.

Set the event type.

Arguments
  • event_type_param - See description.

Set the event date.

Arguments
  • event_date_param - See description.

Set the date expression.

Arguments
  • date_expr_param - See description.

Set the sort order.

Arguments
  • sort_order_param - See description.

Set the value.

Arguments
  • value_param - See description.

Set the value expression.

Arguments
  • value_expr_param - See description.

Set the value expression balance.

Arguments
  • value_expr_balance_param - See description.

Set the periods.

Arguments
  • periods_param - See description.

Set the periods expression.

Arguments
  • periods_expr_param - See description.

Set the skip mask.

Arguments
  • skip_mask_param - See description.

Set the intervals.

Arguments
  • intervals_param - See description.

Set the frequency.

Arguments
  • frequency_param - See description.

Set the list parameter.

Arguments
  • list_parameter_param - See description.

Set the list descriptor.

Arguments
  • list_descriptor_param - See description.

Set the event name.

Arguments
  • event_name_param - See description.

Set the next name.

Arguments
  • next_name_param - See description.

Trait Implementations

The event element extension implementation.

Get the element type value.

Return
  • See description.

Get the extension.

Return
  • See description.

Get the mut extension.

Return
  • See description.

Set the extension.

Arguments
  • elem_extension_param - See description.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.