ElemBatch

Struct ElemBatch 

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

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§

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.