pub struct WorkflowRunMetrics {
pub workflow_id: String,
pub started_at: SystemTime,
pub completed_at: Option<SystemTime>,
pub step_metrics: Vec<StepMetric>,
pub total_duration_secs: Option<f64>,
pub success: Option<bool>,
}Expand description
Execution metrics for a single workflow run.
Fields§
§workflow_id: StringWorkflow identifier.
started_at: SystemTimeWall-clock time at which the workflow started.
completed_at: Option<SystemTime>Wall-clock time at which the workflow completed (if finished).
step_metrics: Vec<StepMetric>Per-step metrics collected during this run.
total_duration_secs: Option<f64>Total wall-clock duration of the workflow (seconds), if complete.
success: Option<bool>Whether the workflow completed successfully.
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowRunMetrics
impl Clone for WorkflowRunMetrics
Source§fn clone(&self) -> WorkflowRunMetrics
fn clone(&self) -> WorkflowRunMetrics
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 WorkflowRunMetrics
impl Debug for WorkflowRunMetrics
Source§impl<'de> Deserialize<'de> for WorkflowRunMetrics
impl<'de> Deserialize<'de> for WorkflowRunMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WorkflowRunMetrics
impl RefUnwindSafe for WorkflowRunMetrics
impl Send for WorkflowRunMetrics
impl Sync for WorkflowRunMetrics
impl Unpin for WorkflowRunMetrics
impl UnsafeUnpin for WorkflowRunMetrics
impl UnwindSafe for WorkflowRunMetrics
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