pub struct StepResult {
pub name: String,
pub success: bool,
pub output: Option<i64>,
pub error: Option<String>,
pub duration_ms: u64,
}Expand description
The outcome of executing a single WorkflowStep.
Fields§
§name: StringName of the step that produced this result.
success: boolWhether the step completed without error.
output: Option<i64>Integer output, if the step produced one.
error: Option<String>Error message, if the step failed.
duration_ms: u64Approximate wall-clock time the step took, in milliseconds.
Trait Implementations§
Source§impl Clone for StepResult
impl Clone for StepResult
Source§fn clone(&self) -> StepResult
fn clone(&self) -> StepResult
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 StepResult
impl RefUnwindSafe for StepResult
impl Send for StepResult
impl Sync for StepResult
impl Unpin for StepResult
impl UnsafeUnpin for StepResult
impl UnwindSafe for StepResult
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