Struct amfnbatchlib::batch::elem_batch::ElemBatch[]

pub struct ElemBatch { /* fields omitted */ }

The batch structure.

Implementations

impl ElemBatch

The batch implementation.

pub fn new(
    name_param: &str,
    group_param: &str,
    locale_param: &str,
    enabled_param: bool,
    actions_param: Vec<ElemBatchAction>,
    inputs_param: Vec<ElemBatchIO>,
    outputs_param: Vec<ElemBatchIO>
) -> ElemBatch

Create a new object.

Arguments

  • name_param - Name of the batch.
  • group_param - Optional group of the batch.
  • locale_param - User locale of the batch.
  • enabled_param - Enabled for execution.
  • actions_param - Actions of the batch.
  • inputs_param - Inputs of the batch.
  • outputs_param - Outputs of the batch.

Return

  • See description.

pub fn name(&self) -> &str

Get the name of the batch.

Return

  • See description.

pub fn group(&self) -> &str

Get the optional group of the batch.

Return

  • See description.

pub fn locale(&self) -> &str

Get the user locale of the batch.

Return

  • See description.

pub fn enabled(&self) -> bool

Get the enabled for execution.

Return

  • See description.

pub fn actions(&self) -> &Vec<ElemBatchAction>

Get the actions of the batch.

Return

  • See description.

pub fn inputs(&self) -> &Vec<ElemBatchIO>

Get the inputs of the batch.

Return

  • See description.

pub fn outputs(&self) -> &Vec<ElemBatchIO>

Get the outputs of the batch.

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.