pub struct MrResult {
pub id: String,
pub passed: bool,
pub message: String,
pub source_value: Option<f64>,
pub followup_value: Option<f64>,
}Expand description
Result of verifying a metamorphic relation.
Fields§
§id: StringRelation ID.
passed: boolWhether the relation held.
message: StringDetailed message.
source_value: Option<f64>Source output value (if applicable).
followup_value: Option<f64>Follow-up output value (if applicable).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MrResult
impl<'de> Deserialize<'de> for MrResult
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 MrResult
impl RefUnwindSafe for MrResult
impl Send for MrResult
impl Sync for MrResult
impl Unpin for MrResult
impl UnsafeUnpin for MrResult
impl UnwindSafe for MrResult
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