pub struct ForEachNode {
pub name: String,
pub over: String,
pub scope: Option<HashMap<String, String>>,
pub filter: HashMap<String, String>,
pub ordered: bool,
pub on_cycle: OnCycle,
pub max_parallel: u32,
pub workflow: String,
pub inputs: HashMap<String, String>,
pub on_child_fail: OnChildFail,
}Expand description
A foreach step node — fans out a child workflow over a collection of items.
Fields§
§name: StringStep name used as the key in step_results and resume skip sets.
over: StringThe collection type to fan out over.
scope: Option<HashMap<String, String>>Raw scope key-value map passed to the provider’s parse_scope method.
filter: HashMap<String, String>Generic filter map (required for workflow_run fan-outs, reserved for repos).
ordered: boolWhether to use dependency-ordered dispatch (tickets only).
on_cycle: OnCycleWhat to do when a ticket cycle is detected (tickets + ordered only).
max_parallel: u32Maximum number of child workflows to run concurrently.
workflow: StringName of the child workflow to invoke for each item.
inputs: HashMap<String, String>Input map passed to each child workflow invocation.
Values may contain {{item.*}} template references.
on_child_fail: OnChildFailHow to handle a child workflow failure.
Trait Implementations§
Source§impl Clone for ForEachNode
impl Clone for ForEachNode
Source§fn clone(&self) -> ForEachNode
fn clone(&self) -> ForEachNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ForEachNode
impl Debug for ForEachNode
Source§impl<'de> Deserialize<'de> for ForEachNode
impl<'de> Deserialize<'de> for ForEachNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ForEachNode
impl RefUnwindSafe for ForEachNode
impl Send for ForEachNode
impl Sync for ForEachNode
impl Unpin for ForEachNode
impl UnsafeUnpin for ForEachNode
impl UnwindSafe for ForEachNode
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