pub struct FailureRecord {
pub comparison: String,
pub actual: Option<Value>,
pub expected: Option<String>,
pub reason: FailureReasonRecord,
pub negated: bool,
}Expand description
One comparison that kept a rule’s filter from matching.
Fields§
§comparison: String§actual: Option<Value>§expected: Option<String>§reason: FailureReasonRecord§negated: boolTrait Implementations§
Source§impl Clone for FailureRecord
impl Clone for FailureRecord
Source§impl Debug for FailureRecord
impl Debug for FailureRecord
Source§impl<'de> Deserialize<'de> for FailureRecord
impl<'de> Deserialize<'de> for FailureRecord
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 FailureRecord
impl PartialEq for FailureRecord
Source§impl Serialize for FailureRecord
impl Serialize for FailureRecord
impl StructuralPartialEq for FailureRecord
Auto Trait Implementations§
impl Freeze for FailureRecord
impl RefUnwindSafe for FailureRecord
impl Send for FailureRecord
impl Sync for FailureRecord
impl Unpin for FailureRecord
impl UnsafeUnpin for FailureRecord
impl UnwindSafe for FailureRecord
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