#[non_exhaustive]pub struct StepRecord {
pub workflow_id: String,
pub step_id: String,
pub attempt: u32,
pub performed: Performed,
pub criteria: Vec<CriterionOutcome>,
pub passed: bool,
pub outputs: BTreeMap<String, Value>,
pub action: Option<String>,
pub elapsed: Duration,
}Expand description
One attempt at one step.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.workflow_id: StringThe workflow the step belongs to.
step_id: StringThe step’s id.
attempt: u321 for the first try, 2 for the first retry, and so on.
performed: PerformedWhat the step did.
criteria: Vec<CriterionOutcome>Each success criterion, in the order the step lists them.
passed: boolWhether the step, as a whole, succeeded.
outputs: BTreeMap<String, Value>The outputs the step named.
action: Option<String>The action the step’s outcome triggered, if any.
elapsed: DurationHow long it took.
Implementations§
Trait Implementations§
Source§impl Clone for StepRecord
impl Clone for StepRecord
Source§fn clone(&self) -> StepRecord
fn clone(&self) -> StepRecord
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 moreSource§impl Debug for StepRecord
impl Debug for StepRecord
impl Eq for StepRecord
Source§impl PartialEq for StepRecord
impl PartialEq for StepRecord
impl StructuralPartialEq for StepRecord
Auto Trait Implementations§
impl Freeze for StepRecord
impl RefUnwindSafe for StepRecord
impl Send for StepRecord
impl Sync for StepRecord
impl Unpin for StepRecord
impl UnsafeUnpin for StepRecord
impl UnwindSafe for StepRecord
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