pub struct StepProgress {
pub event: StepProgressEvent,
pub instance: String,
pub step_id: String,
pub step_kind: StepKind,
pub node: String,
pub index: usize,
pub total: usize,
pub code: Option<&'static str>,
pub at_epoch_ms: i64,
pub duration_ms: Option<u64>,
}Fields§
§event: StepProgressEvent§instance: String§step_id: String§step_kind: StepKind§node: String§index: usize1-based index within the plan.
total: usize§code: Option<&'static str>Set on StepProgressEvent::Failed when a stable code is known.
at_epoch_ms: i64Wall-clock time of this event (Unix epoch milliseconds).
duration_ms: Option<u64>Elapsed time since step_started, set on completed/failed/skipped.
Trait Implementations§
Source§impl Clone for StepProgress
impl Clone for StepProgress
Source§fn clone(&self) -> StepProgress
fn clone(&self) -> StepProgress
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 StepProgress
impl RefUnwindSafe for StepProgress
impl Send for StepProgress
impl Sync for StepProgress
impl Unpin for StepProgress
impl UnsafeUnpin for StepProgress
impl UnwindSafe for StepProgress
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