pub struct StepState {
pub status: StepStatus,
pub attempt: u32,
pub started: Option<u64>,
pub finished: Option<u64>,
pub output: Option<Value>,
pub error: Option<String>,
pub wait: Option<Value>,
pub worker: Option<String>,
pub forced: bool,
}Expand description
One step’s durable state.
Fields§
§status: StepStatus§attempt: u32§started: Option<u64>§finished: Option<u64>§output: Option<Value>§error: Option<String>§wait: Option<Value>The suspension detail ({kind, timer?, deadline_ms?, …}).
worker: Option<String>The turn worker / child handle executing this step (not durable).
forced: boolScheduled explicitly (an on_error: goto target / a switch case):
runs even if its dependencies are not terminal.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StepState
impl<'de> Deserialize<'de> for StepState
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 StepState
Auto Trait Implementations§
impl Freeze for StepState
impl RefUnwindSafe for StepState
impl Send for StepState
impl Sync for StepState
impl Unpin for StepState
impl UnsafeUnpin for StepState
impl UnwindSafe for StepState
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