pub struct SimulationResult {
pub name: String,
pub passed: bool,
pub duration: Duration,
pub final_metrics: SimulationMetrics,
pub memory_report: Option<ProfileReport>,
pub warnings: Vec<String>,
pub errors: Vec<String>,
pub phase_durations: HashMap<String, Duration>,
}Expand description
Final simulation result.
Fields§
§name: StringSimulation name.
passed: boolWhether the simulation passed all criteria.
duration: DurationTotal duration of the simulation.
final_metrics: SimulationMetricsFinal metrics.
memory_report: Option<ProfileReport>Memory profiling report.
warnings: Vec<String>Any warnings generated.
errors: Vec<String>Any errors that occurred.
phase_durations: HashMap<String, Duration>Per-phase timing.
Implementations§
Trait Implementations§
Source§impl Clone for SimulationResult
impl Clone for SimulationResult
Source§fn clone(&self) -> SimulationResult
fn clone(&self) -> SimulationResult
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 SimulationResult
impl Debug for SimulationResult
Source§impl<'de> Deserialize<'de> for SimulationResult
impl<'de> Deserialize<'de> for SimulationResult
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 SimulationResult
impl RefUnwindSafe for SimulationResult
impl Send for SimulationResult
impl Sync for SimulationResult
impl Unpin for SimulationResult
impl UnsafeUnpin for SimulationResult
impl UnwindSafe for SimulationResult
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