pub enum MismatchDiff {
Off,
Paths,
Values,
}Expand description
How much of the structural difference a confirmed-mismatch warning logs. The levels are ordered: each logs everything the previous one does.
Variants§
Off
No difference fields.
Paths
Where the values differ: mismatchPaths and mismatchPathCount.
Values
The paths plus what each side holds there: diffJson.
Implementations§
Trait Implementations§
Source§impl Clone for MismatchDiff
impl Clone for MismatchDiff
Source§fn clone(&self) -> MismatchDiff
fn clone(&self) -> MismatchDiff
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 moreimpl Copy for MismatchDiff
Source§impl Debug for MismatchDiff
impl Debug for MismatchDiff
Source§impl Default for MismatchDiff
impl Default for MismatchDiff
Source§fn default() -> MismatchDiff
fn default() -> MismatchDiff
Returns the “default value” for a type. Read more
Source§impl Display for MismatchDiff
impl Display for MismatchDiff
impl Eq for MismatchDiff
Source§impl Hash for MismatchDiff
impl Hash for MismatchDiff
Source§impl Ord for MismatchDiff
impl Ord for MismatchDiff
Source§fn cmp(&self, other: &MismatchDiff) -> Ordering
fn cmp(&self, other: &MismatchDiff) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MismatchDiff
impl PartialEq for MismatchDiff
Source§fn eq(&self, other: &MismatchDiff) -> bool
fn eq(&self, other: &MismatchDiff) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MismatchDiff
impl PartialOrd for MismatchDiff
impl StructuralPartialEq for MismatchDiff
Auto Trait Implementations§
impl Freeze for MismatchDiff
impl RefUnwindSafe for MismatchDiff
impl Send for MismatchDiff
impl Sync for MismatchDiff
impl Unpin for MismatchDiff
impl UnsafeUnpin for MismatchDiff
impl UnwindSafe for MismatchDiff
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.