pub struct RunSummary {
pub nodes_run: usize,
pub success_count: usize,
pub failed_count: usize,
pub started_at: String,
pub finished_at: String,
}Expand description
Summary of a single pipeline run for display after completion.
Fields§
§nodes_run: usizeNumber of nodes that ran (completed).
success_count: usizeNumber of node runs that completed with success or partial_success.
failed_count: usizeNumber of node runs that completed with error (or that led to error path).
started_at: StringISO 8601 timestamp when the run started.
finished_at: StringISO 8601 timestamp when the run finished.
Implementations§
Source§impl RunSummary
impl RunSummary
Sourcepub fn duration_secs(&self) -> Option<i64>
pub fn duration_secs(&self) -> Option<i64>
Duration in seconds (from started_at to finished_at). Returns None if parsing fails.
Trait Implementations§
Source§impl Clone for RunSummary
impl Clone for RunSummary
Source§fn clone(&self) -> RunSummary
fn clone(&self) -> RunSummary
Returns a duplicate of the value. Read more
1.0.0 · 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 RunSummary
impl Debug for RunSummary
Source§impl From<&RunSummary> for RunSummaryOutput
impl From<&RunSummary> for RunSummaryOutput
Source§fn from(s: &RunSummary) -> Self
fn from(s: &RunSummary) -> Self
Converts to this type from the input type.
Source§impl From<RunSummary> for RunSummaryOutput
impl From<RunSummary> for RunSummaryOutput
Source§fn from(s: RunSummary) -> Self
fn from(s: RunSummary) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RunSummary
impl RefUnwindSafe for RunSummary
impl Send for RunSummary
impl Sync for RunSummary
impl Unpin for RunSummary
impl UnwindSafe for RunSummary
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