ElemBatchAction

Struct ElemBatchAction 

pub struct ElemBatchAction { /* private fields */ }
Expand description

The batch action element.

Implementations§

§

impl ElemBatchAction

The batch action element implementation.

pub fn new( action_param: ActionType, template_group_param: &str, cashflow_name_param: &str, cashflow_name2_param: &str, cashflow_new_param: &str, cashflow_options_param: &str, event_name_param: &str, select_param: ExtensionType, iteration_param: usize, test_type_param: TestType, test_value_param: Decimal, test_str_param: &str, ) -> ElemBatchAction

Create a new object.

§Arguments
  • action_param - Action of the batch action element.
  • template_group_param - Selection of the batch action template group element.
  • cashflow_name_param - Selection of the batch action cashflow element.
  • cashflow_name2_param - Selection of the batch action cashflow element 2.
  • cashflow_new_param - New cashflow element name.
  • cashflow_options_param - Batch action cashflow element options.
  • event_name_param - Selection of the batch action event element by name.
  • select_param - Selection of the batch action event element by type.
  • iteration_param - Iteration of the batch action event element by type.
  • test_type_param - Test type.
  • test_value_param - Test value.
  • test_str_param - Test string.
§Return
  • See description.

pub fn action(&self) -> ActionType

Get the action type.

§Return
  • See description.

pub fn template_group(&self) -> &str

Get the name of the batch action template group element.

§Return
  • See description.

pub fn cashflow_name(&self) -> &str

Get the name of the batch action cashflow element.

§Return
  • See description.

pub fn cashflow_name2(&self) -> &str

Get the name of the batch action cashflow element 2.

§Return
  • See description.

pub fn cashflow_new(&self) -> &str

Get the new cashflow element name.

§Return
  • See description.

pub fn cashflow_options(&self) -> &str

Get the batch action cashflow element options.

§Return
  • See description.

pub fn event_name(&self) -> &str

Get the name of the batch action event element.

§Return
  • See description.

pub fn select(&self) -> ExtensionType

Get the event select type.

§Return
  • See description.

pub fn iteration(&self) -> usize

Get the iteration of the event select by type.

§Return
  • See description.

pub fn test_type(&self) -> TestType

Get the test type.

§Return
  • See description.

pub fn test_value(&self) -> Decimal

Get the test value.

§Return
  • See description.

pub fn test_str(&self) -> &str

Get the test string.

§Return
  • See description.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.