pub struct VerificationTestSummary {
pub id: String,
pub name: String,
pub passed: bool,
pub expected: Option<f64>,
pub actual: Option<f64>,
pub tolerance: Option<f64>,
pub error: Option<String>,
}Expand description
Summary of a single verification test.
Fields§
§id: StringTest ID
name: StringTest name
passed: boolWhether the test passed
expected: Option<f64>Expected value (if applicable)
actual: Option<f64>Actual value (if applicable)
tolerance: Option<f64>Tolerance used
error: Option<String>Error message (if failed)
Trait Implementations§
Source§impl Clone for VerificationTestSummary
impl Clone for VerificationTestSummary
Source§fn clone(&self) -> VerificationTestSummary
fn clone(&self) -> VerificationTestSummary
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 VerificationTestSummary
impl Debug for VerificationTestSummary
Source§impl<'de> Deserialize<'de> for VerificationTestSummary
impl<'de> Deserialize<'de> for VerificationTestSummary
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 VerificationTestSummary
impl RefUnwindSafe for VerificationTestSummary
impl Send for VerificationTestSummary
impl Sync for VerificationTestSummary
impl Unpin for VerificationTestSummary
impl UnsafeUnpin for VerificationTestSummary
impl UnwindSafe for VerificationTestSummary
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