#[non_exhaustive]pub struct ExecutionReport {
pub workflow_id: String,
pub outcome: Outcome,
pub outputs: BTreeMap<String, Value>,
pub steps: Vec<StepRecord>,
}Expand description
What a run did.
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 that was asked for.
outcome: OutcomeHow it finished.
outputs: BTreeMap<String, Value>The outputs it named.
steps: Vec<StepRecord>Every attempt at every step, in the order they were made — including the steps of workflows this one depended on or called.
Implementations§
Source§impl ExecutionReport
impl ExecutionReport
Sourcepub fn is_success(&self) -> bool
pub fn is_success(&self) -> bool
Whether the workflow ran to a successful end.
Trait Implementations§
Source§impl Clone for ExecutionReport
impl Clone for ExecutionReport
Source§fn clone(&self) -> ExecutionReport
fn clone(&self) -> ExecutionReport
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 ExecutionReport
impl Debug for ExecutionReport
Source§impl Default for ExecutionReport
impl Default for ExecutionReport
Source§fn default() -> ExecutionReport
fn default() -> ExecutionReport
Returns the “default value” for a type. Read more
Source§impl Display for ExecutionReport
impl Display for ExecutionReport
impl Eq for ExecutionReport
Source§impl PartialEq for ExecutionReport
impl PartialEq for ExecutionReport
impl StructuralPartialEq for ExecutionReport
Auto Trait Implementations§
impl Freeze for ExecutionReport
impl RefUnwindSafe for ExecutionReport
impl Send for ExecutionReport
impl Sync for ExecutionReport
impl Unpin for ExecutionReport
impl UnsafeUnpin for ExecutionReport
impl UnwindSafe for ExecutionReport
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