pub struct Step {Show 17 fields
pub id: String,
pub kind: String,
pub depends_on: Vec<String>,
pub when: Option<String>,
pub retry: Option<Retry>,
pub timeout_ms: Option<u64>,
pub on_error: OnError,
pub idempotent: bool,
pub on_replay: OnReplay,
pub output_schema: Option<Value>,
pub cache: Option<Value>,
pub budget: Option<u64>,
pub skills: Vec<String>,
pub description: Option<String>,
pub spec: Map<String, Value>,
pub body: Option<Body>,
pub branches: BTreeMap<String, Body>,
}Expand description
One step (the cross-cutting fields typed; kind fields in spec).
Fields§
§id: String§kind: String§depends_on: Vec<String>§when: Option<String>§retry: Option<Retry>§timeout_ms: Option<u64>§on_error: OnError§idempotent: bool§on_replay: OnReplay§output_schema: Option<Value>§cache: Option<Value>§budget: Option<u64>§skills: Vec<String>§description: Option<String>§spec: Map<String, Value>The kind-specific fields, verbatim.
body: Option<Body>The parsed nested body (foreach/batch/iterate/subgraph).
branches: BTreeMap<String, Body>The parsed branches (parallel/race).
Implementations§
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
impl StructuralPartialEq for Step
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