pub enum Change {
Addition {
entry_mode: EntryMode,
oid: ObjectId,
path: BString,
},
Deletion {
entry_mode: EntryMode,
oid: ObjectId,
path: BString,
},
Modification {
previous_entry_mode: EntryMode,
previous_oid: ObjectId,
entry_mode: EntryMode,
oid: ObjectId,
path: BString,
},
}
Expand description
A Change as observed by a call to visit(…)
, enhanced with the path affected by the change.
Its similar to visit::Change
but includes the path that changed.
Variants§
Trait Implementations§
source§impl PartialEq for Change
impl PartialEq for Change
impl Eq for Change
impl StructuralEq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl RefUnwindSafe for Change
impl Send for Change
impl Sync for Change
impl Unpin for Change
impl UnwindSafe for Change
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
§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
Checks if this value is equivalent to the given key. Read more