pub struct Step {
pub order: u32,
pub description: String,
pub command: Option<String>,
pub tool: Option<String>,
pub needs_approval: bool,
pub on_failure: FailureAction,
pub breakpoint: Option<bool>,
pub retry: Option<RetryConfig>,
pub timeout_secs: Option<u64>,
}Expand description
A single step in a workflow.
Fields§
§order: u32Execution order (1-based)
description: StringHuman-readable description of what this step does
command: Option<String>Shell command to execute (if any)
tool: Option<String>Tool to use (e.g. “cargo”, “npm”)
needs_approval: boolWhether this step requires user approval before executing
on_failure: FailureActionWhat to do if this step fails
breakpoint: Option<bool>Commander extension: pause execution for manual inspection
retry: Option<RetryConfig>Commander extension: retry configuration
timeout_secs: Option<u64>Commander extension: step timeout in seconds
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Step
impl<'de> Deserialize<'de> for Step
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 Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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