pub struct ForDefinition {
pub each: Option<String>,
pub in_expr: Option<String>,
pub at: Option<String>,
pub while_expr: Option<String>,
pub do_steps: Vec<WorkflowStep>,
}
Expand description
For loop definition
Fields§
§each: Option<String>
Loop variable name
in_expr: Option<String>
Collection to iterate over (expression)
at: Option<String>
Loop index variable name
while_expr: Option<String>
Loop condition (while)
do_steps: Vec<WorkflowStep>
Steps to execute in loop
Trait Implementations§
Source§impl Clone for ForDefinition
impl Clone for ForDefinition
Source§fn clone(&self) -> ForDefinition
fn clone(&self) -> ForDefinition
Returns a duplicate of the value. Read more
1.0.0 · 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 ForDefinition
impl Debug for ForDefinition
Source§impl<'de> Deserialize<'de> for ForDefinition
impl<'de> Deserialize<'de> for ForDefinition
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 ForDefinition
impl RefUnwindSafe for ForDefinition
impl Send for ForDefinition
impl Sync for ForDefinition
impl Unpin for ForDefinition
impl UnwindSafe for ForDefinition
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