Struct amfnbatchlib::batch::list_batch::ListBatch
[−]pub struct ListBatch { /* private fields */ }
Expand description
List of batches list trait.
Implementations
impl ListBatch
impl ListBatch
List of batches implementation.
pub fn add_batch(
&mut self,
name_param: &str,
group_param: &str,
locale_param: &str,
enabled_param: bool,
actions_param: Vec<ElemBatchAction>,
inputs_param: Vec<ElemBatchIO>,
outputs_param: Vec<ElemBatchIO>
) -> bool
pub fn add_batch(
&mut self,
name_param: &str,
group_param: &str,
locale_param: &str,
enabled_param: bool,
actions_param: Vec<ElemBatchAction>,
inputs_param: Vec<ElemBatchIO>,
outputs_param: Vec<ElemBatchIO>
) -> bool
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.
pub fn actions(&self) -> &Vec<ElemBatchAction>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
pub fn actions(&self) -> &Vec<ElemBatchAction>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn inputs(&self) -> &Vec<ElemBatchIO>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
pub fn inputs(&self) -> &Vec<ElemBatchIO>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn outputs(&self) -> &Vec<ElemBatchIO>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
pub fn outputs(&self) -> &Vec<ElemBatchIO>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn copy_actions(&self) -> Vec<ElemBatchAction>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
pub fn copy_actions(&self) -> Vec<ElemBatchAction>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn copy_inputs(&self) -> Vec<ElemBatchIO>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
pub fn copy_inputs(&self) -> Vec<ElemBatchIO>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn copy_outputs(&self) -> Vec<ElemBatchIO>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
pub fn copy_outputs(&self) -> Vec<ElemBatchIO>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListBatch
impl Send for ListBatch
impl !Sync for ListBatch
impl Unpin for ListBatch
impl UnwindSafe for ListBatch
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more