pub struct SimulationSummary {
pub total_nodes: usize,
pub would_succeed: usize,
pub would_fail: usize,
pub would_skip: usize,
pub unreachable: usize,
pub blocked: usize,
pub estimated_total_duration: Duration,
pub estimated_critical_path_duration: Duration,
pub would_complete: bool,
}Expand description
Summary statistics from a simulation.
Fields§
§total_nodes: usizeTotal nodes in the DAG.
would_succeed: usizeNodes that would succeed.
would_fail: usizeNodes that would fail.
would_skip: usizeNodes that would be skipped.
unreachable: usizeNodes that are unreachable.
blocked: usizeNodes blocked by failures.
estimated_total_duration: DurationEstimated total duration (sum of all would-succeed node durations).
estimated_critical_path_duration: DurationEstimated critical path duration (max path sum).
would_complete: boolWhether the workflow would complete successfully.
Trait Implementations§
Source§impl Clone for SimulationSummary
impl Clone for SimulationSummary
Source§fn clone(&self) -> SimulationSummary
fn clone(&self) -> SimulationSummary
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 SimulationSummary
impl Debug for SimulationSummary
Source§impl<'de> Deserialize<'de> for SimulationSummary
impl<'de> Deserialize<'de> for SimulationSummary
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 SimulationSummary
impl RefUnwindSafe for SimulationSummary
impl Send for SimulationSummary
impl Sync for SimulationSummary
impl Unpin for SimulationSummary
impl UnsafeUnpin for SimulationSummary
impl UnwindSafe for SimulationSummary
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