pub struct ForEachStep {
pub collection: Vec<Value>,
pub run_parallel: bool,
}Expand description
A step that iterates over a collection, branching for each element.
Fields§
§collection: Vec<Value>Collection.
run_parallel: boolRun parallel.
Trait Implementations§
Source§impl Default for ForEachStep
impl Default for ForEachStep
Source§impl StepBody for ForEachStep
impl StepBody for ForEachStep
Source§fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<ExecutionResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<ExecutionResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Execute the step. Read more
Source§fn mount_artifacts<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn mount_artifacts<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Mount any artifacts this step requires. Read more
Source§fn unmount_artifacts<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn unmount_artifacts<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
_context: &'life1 StepExecutionContext<'life2>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Unmount and clean up artifacts. Read more
Auto Trait Implementations§
impl Freeze for ForEachStep
impl RefUnwindSafe for ForEachStep
impl Send for ForEachStep
impl Sync for ForEachStep
impl Unpin for ForEachStep
impl UnsafeUnpin for ForEachStep
impl UnwindSafe for ForEachStep
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more