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

List of batches list trait.

Implementations

List of batches implementation.

Create and return a new list of batches.

Arguments
  • threads_param - Number of simultaneous threads to execute.
Return
  • See description.

Add a new batch into the batches list. Duplicate batches are allowed.

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
  • True if successful, otherwise false.

Get the name of the batch.

Return
  • See description.

Get the optional group of the batch.

Return
  • See description.

Get the locale of the batch.

Return
  • See description.

Get the enabled execution batch.

Return
  • See description.

Get the Number of simultaneous threads to execute.

Return
  • See description.

Get the list of actions.

Return
  • See description.

Get the inputs of the batch.

Return
  • See description.

Get the outputs of the batch.

Return
  • See description.

Copy the actions.

Return
  • See description.

Copy the inputs.

Return
  • See description.

Copy the outputs.

Return
  • See description.

Trait Implementations

List of batches list trait implementation.

Clear all batches from the batch list.

Get the count of the batch list.

Return
  • See description.

Get the index of the selected batch (starting from 0).

Return
  • See description.

Select a batch based upon an index.

Arguments
  • index_param - Index of the batch to select (starting from 0).
Return
  • True if successful, otherwise false.

Set the list index.

Arguments
  • index_param - See description.
Return
  • True if successful, otherwise false.

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.