pub struct WhileloopFlow {
pub modules: Vec<FlowModule>,
pub skip_failures: bool,
pub type: Type,
pub parallel: Option<bool>,
pub parallelism: Option<Box<InputTransform>>,
pub squash: Option<bool>,
}Expand description
WhileloopFlow : Executes nested modules repeatedly while a condition is true. The loop checks the condition after each iteration. Use stop_after_if on modules to control loop termination
Fields§
§modules: Vec<FlowModule>Steps to execute in each iteration. Use stop_after_if to control when the loop ends
skip_failures: boolIf true, iteration failures don’t stop the loop. Failed iterations return null
type: Type§parallel: Option<bool>If true, iterations run concurrently (use with caution in while loops)
parallelism: Option<Box<InputTransform>>§squash: Option<bool>Implementations§
Source§impl WhileloopFlow
impl WhileloopFlow
Sourcepub fn new(
modules: Vec<FlowModule>,
skip_failures: bool,
type: Type,
) -> WhileloopFlow
pub fn new( modules: Vec<FlowModule>, skip_failures: bool, type: Type, ) -> WhileloopFlow
Executes nested modules repeatedly while a condition is true. The loop checks the condition after each iteration. Use stop_after_if on modules to control loop termination
Trait Implementations§
Source§impl Clone for WhileloopFlow
impl Clone for WhileloopFlow
Source§fn clone(&self) -> WhileloopFlow
fn clone(&self) -> WhileloopFlow
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 WhileloopFlow
impl Debug for WhileloopFlow
Source§impl Default for WhileloopFlow
impl Default for WhileloopFlow
Source§fn default() -> WhileloopFlow
fn default() -> WhileloopFlow
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WhileloopFlow
impl<'de> Deserialize<'de> for WhileloopFlow
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
Source§impl PartialEq for WhileloopFlow
impl PartialEq for WhileloopFlow
Source§impl Serialize for WhileloopFlow
impl Serialize for WhileloopFlow
impl StructuralPartialEq for WhileloopFlow
Auto Trait Implementations§
impl Freeze for WhileloopFlow
impl RefUnwindSafe for WhileloopFlow
impl Send for WhileloopFlow
impl Sync for WhileloopFlow
impl Unpin for WhileloopFlow
impl UnwindSafe for WhileloopFlow
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