pub struct MetamorphicResult {
pub relation: String,
pub passed: bool,
pub error: f64,
pub tolerance: f64,
pub details: String,
}Expand description
Metamorphic test result.
Fields§
§relation: StringName of the relation tested.
passed: boolWhether the relation holds within tolerance.
error: f64Measured error/deviation.
tolerance: f64Tolerance used.
details: StringAdditional details.
Implementations§
Trait Implementations§
Source§impl Clone for MetamorphicResult
impl Clone for MetamorphicResult
Source§fn clone(&self) -> MetamorphicResult
fn clone(&self) -> MetamorphicResult
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 MetamorphicResult
impl RefUnwindSafe for MetamorphicResult
impl Send for MetamorphicResult
impl Sync for MetamorphicResult
impl Unpin for MetamorphicResult
impl UnsafeUnpin for MetamorphicResult
impl UnwindSafe for MetamorphicResult
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