pub struct ObservationParity {
pub path: String,
pub passed: bool,
pub failure: Option<String>,
pub metrics: Option<ParityMetrics>,
}Expand description
Comparison result for one path.
Fields§
§path: StringStable observation path.
passed: boolWhether the observation passed its rule.
failure: Option<String>Shape or type failure when values were not comparable.
metrics: Option<ParityMetrics>Metrics when comparison could be performed.
Trait Implementations§
Source§impl Clone for ObservationParity
impl Clone for ObservationParity
Source§fn clone(&self) -> ObservationParity
fn clone(&self) -> ObservationParity
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 ObservationParity
impl Debug for ObservationParity
Source§impl<'de> Deserialize<'de> for ObservationParity
impl<'de> Deserialize<'de> for ObservationParity
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
Source§impl PartialEq for ObservationParity
impl PartialEq for ObservationParity
Source§impl Serialize for ObservationParity
impl Serialize for ObservationParity
impl StructuralPartialEq for ObservationParity
Auto Trait Implementations§
impl Freeze for ObservationParity
impl RefUnwindSafe for ObservationParity
impl Send for ObservationParity
impl Sync for ObservationParity
impl Unpin for ObservationParity
impl UnsafeUnpin for ObservationParity
impl UnwindSafe for ObservationParity
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