pub struct CollectionDiffTrace {
pub node: NodeId,
pub kind: CollectionDiffKind,
pub added: usize,
pub removed: usize,
pub updated: usize,
pub unchanged: usize,
}Expand description
Payload-neutral structural summary for a collection diff.
Fields§
§node: NodeIdCollection node that produced the diff.
kind: CollectionDiffKindCollection shape that produced the diff.
added: usizeNumber of added members or entries.
removed: usizeNumber of removed members or entries.
updated: usizeNumber of updated map entries.
unchanged: usizeNumber of unchanged members or entries.
Trait Implementations§
Source§impl Clone for CollectionDiffTrace
impl Clone for CollectionDiffTrace
Source§fn clone(&self) -> CollectionDiffTrace
fn clone(&self) -> CollectionDiffTrace
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 CollectionDiffTrace
Source§impl Debug for CollectionDiffTrace
impl Debug for CollectionDiffTrace
impl Eq for CollectionDiffTrace
Source§impl PartialEq for CollectionDiffTrace
impl PartialEq for CollectionDiffTrace
Source§fn eq(&self, other: &CollectionDiffTrace) -> bool
fn eq(&self, other: &CollectionDiffTrace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CollectionDiffTrace
Auto Trait Implementations§
impl Freeze for CollectionDiffTrace
impl RefUnwindSafe for CollectionDiffTrace
impl Send for CollectionDiffTrace
impl Sync for CollectionDiffTrace
impl Unpin for CollectionDiffTrace
impl UnsafeUnpin for CollectionDiffTrace
impl UnwindSafe for CollectionDiffTrace
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