pub struct WorkflowStep {Show 13 fields
pub name: String,
pub step_type: StepType,
pub agent: Option<String>,
pub config: Option<StepConfig>,
pub validation: Vec<ValidationRule>,
pub next: Option<NextStep>,
pub parallel: bool,
pub branches: Option<Vec<ParallelBranch>>,
pub join: Option<JoinConfig>,
pub on_error: Option<Vec<ConditionalNext>>,
pub interrupt: Option<InterruptConfig>,
pub status: Option<TerminalStatus>,
pub timeout: Option<String>,
}Expand description
Workflow step definition
Fields§
§name: StringStep name (must be unique within workflow)
step_type: StepTypeStep type
agent: Option<String>Agent to execute (for agent steps)
config: Option<StepConfig>Step configuration
validation: Vec<ValidationRule>Validation rules
next: Option<NextStep>Next step(s) - can be conditional
parallel: boolParallel execution flag
branches: Option<Vec<ParallelBranch>>Parallel branches (for parallel steps)
join: Option<JoinConfig>Join configuration (for parallel steps)
on_error: Option<Vec<ConditionalNext>>Error handling for this step
interrupt: Option<InterruptConfig>Interrupt configuration for human input
status: Option<TerminalStatus>Terminal status (for terminal steps)
timeout: Option<String>Step timeout
Trait Implementations§
Source§impl Clone for WorkflowStep
impl Clone for WorkflowStep
Source§fn clone(&self) -> WorkflowStep
fn clone(&self) -> WorkflowStep
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 WorkflowStep
impl Debug for WorkflowStep
Source§impl<'de> Deserialize<'de> for WorkflowStep
impl<'de> Deserialize<'de> for WorkflowStep
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 WorkflowStep
impl RefUnwindSafe for WorkflowStep
impl Send for WorkflowStep
impl Sync for WorkflowStep
impl Unpin for WorkflowStep
impl UnwindSafe for WorkflowStep
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