pub struct Comparison { /* private fields */ }Expand description
Changed keys between two documents in stable key order.
Keys present on the left appear in left source order, followed by keys that occur only on the right in right source order. Keys with identical effective values are omitted.
Implementations§
Source§impl Comparison
impl Comparison
Sourcepub fn differences(&self) -> &[ComparisonEntry]
pub fn differences(&self) -> &[ComparisonEntry]
Changed entries in stable key order.
Trait Implementations§
Source§impl Clone for Comparison
impl Clone for Comparison
Source§impl Debug for Comparison
impl Debug for Comparison
impl Eq for Comparison
Source§impl PartialEq for Comparison
impl PartialEq for Comparison
impl StructuralPartialEq for Comparison
Auto Trait Implementations§
impl Freeze for Comparison
impl RefUnwindSafe for Comparison
impl Send for Comparison
impl Sync for Comparison
impl Unpin for Comparison
impl UnsafeUnpin for Comparison
impl UnwindSafe for Comparison
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