Struct amfnbatchlib::batch::elem_batch_action::ElemBatchAction[]

pub struct ElemBatchAction { /* fields omitted */ }

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

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]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.