pub struct ScenarioResult {
pub name: String,
pub passed: bool,
pub ticks_run: u64,
pub conditions: Vec<ConditionResult>,
pub metrics: Metrics,
}Expand description
Result of running a complete scenario.
Fields§
§name: StringScenario name.
passed: boolWhether all conditions passed.
ticks_run: u64Number of ticks run.
conditions: Vec<ConditionResult>Per-condition results.
metrics: MetricsFinal simulation metrics.
Trait Implementations§
Source§impl Clone for ScenarioResult
impl Clone for ScenarioResult
Source§fn clone(&self) -> ScenarioResult
fn clone(&self) -> ScenarioResult
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 moreAuto Trait Implementations§
impl Freeze for ScenarioResult
impl RefUnwindSafe for ScenarioResult
impl Send for ScenarioResult
impl Sync for ScenarioResult
impl Unpin for ScenarioResult
impl UnsafeUnpin for ScenarioResult
impl UnwindSafe for ScenarioResult
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