pub struct StepOutput {
pub index: usize,
pub variant: String,
pub summary: String,
pub duration_ms: u128,
pub success: bool,
pub error: Option<String>,
}Expand description
Output of one workflow step.
Fields§
§index: usizePosition of this step in the top-level steps list (0-indexed).
variant: StringVariant name ("Run", "Parallel", "Chain", "ForEach",
"Vote", "SetState").
summary: StringHuman-readable one-line summary of what happened.
duration_ms: u128Wall-clock duration in milliseconds.
success: boolWhether the step succeeded.
error: Option<String>Error message when success is false.
Implementations§
Trait Implementations§
Source§impl Clone for StepOutput
impl Clone for StepOutput
Source§fn clone(&self) -> StepOutput
fn clone(&self) -> StepOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StepOutput
impl RefUnwindSafe for StepOutput
impl Send for StepOutput
impl Sync for StepOutput
impl Unpin for StepOutput
impl UnsafeUnpin for StepOutput
impl UnwindSafe for StepOutput
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