pub struct ShadowMismatchDiffDetails {
pub level: MismatchDiff,
pub mismatch_paths: Option<Vec<String>>,
pub mismatch_path_count: Option<u64>,
pub diff_json: Option<String>,
}Expand description
The difference fields of a confirmed-mismatch warning, present when
mismatch_logging.diff is above MismatchDiff::Off.
Fields§
§level: MismatchDiff§mismatch_paths: Option<Vec<String>>RFC 6901 JSON Pointers of the differing fields in walk order, at most
64, each bounded to 512 bytes; None when the hook or walk failed.
mismatch_path_count: Option<u64>The number of differences before the cut to 64; None with mismatch_paths.
diff_json: Option<String>At level Values, the entries as a JSON array of {path, cached, source} objects, each side bounded to 1 KiB and the whole to 8 KiB;
None at level Paths and when unavailable.
Trait Implementations§
Source§impl Clone for ShadowMismatchDiffDetails
impl Clone for ShadowMismatchDiffDetails
Source§fn clone(&self) -> ShadowMismatchDiffDetails
fn clone(&self) -> ShadowMismatchDiffDetails
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 ShadowMismatchDiffDetails
impl Debug for ShadowMismatchDiffDetails
impl Eq for ShadowMismatchDiffDetails
Source§impl PartialEq for ShadowMismatchDiffDetails
impl PartialEq for ShadowMismatchDiffDetails
Source§fn eq(&self, other: &ShadowMismatchDiffDetails) -> bool
fn eq(&self, other: &ShadowMismatchDiffDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShadowMismatchDiffDetails
Auto Trait Implementations§
impl Freeze for ShadowMismatchDiffDetails
impl RefUnwindSafe for ShadowMismatchDiffDetails
impl Send for ShadowMismatchDiffDetails
impl Sync for ShadowMismatchDiffDetails
impl Unpin for ShadowMismatchDiffDetails
impl UnsafeUnpin for ShadowMismatchDiffDetails
impl UnwindSafe for ShadowMismatchDiffDetails
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> 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.