pub struct CaseResult {
pub id: String,
pub category: String,
pub spec: String,
pub about: String,
pub status: Status,
pub duration_ms: u128,
pub message: String,
pub metrics: Metrics,
}Expand description
Recorded result for one case in one run.
Fields§
§id: StringCase identifier.
category: StringCase category (grouping).
spec: StringSpec reference the case exercises.
about: StringOne-line description of the case.
status: StatusOutcome status.
duration_ms: u128Wall-clock duration in milliseconds.
message: StringFailure/skip detail, empty on pass.
metrics: MetricsMetrics captured during the run.
Trait Implementations§
Source§impl Clone for CaseResult
impl Clone for CaseResult
Source§fn clone(&self) -> CaseResult
fn clone(&self) -> CaseResult
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 CaseResult
impl Debug for CaseResult
Source§impl<'de> Deserialize<'de> for CaseResult
impl<'de> Deserialize<'de> for CaseResult
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 CaseResult
impl RefUnwindSafe for CaseResult
impl Send for CaseResult
impl Sync for CaseResult
impl Unpin for CaseResult
impl UnsafeUnpin for CaseResult
impl UnwindSafe for CaseResult
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