pub struct Reported {
pub out_of_range: bool,
pub value: f64,
}Expand description
A value as a source reported it, flagged when it is outside the plausibility range this crate declares for its field.
Fields§
§out_of_range: boolOne shape of the contracts, which say nothing more about it.
value: f64One shape of the contracts, which say nothing more about it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Reported
impl<'de> Deserialize<'de> for Reported
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
impl StructuralPartialEq for Reported
Auto Trait Implementations§
impl Freeze for Reported
impl RefUnwindSafe for Reported
impl Send for Reported
impl Sync for Reported
impl Unpin for Reported
impl UnsafeUnpin for Reported
impl UnwindSafe for Reported
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