pub enum Change {
Addition {
entry_mode: EntryMode,
oid: ObjectId,
path: BString,
relation: Option<Relation>,
},
Deletion {
entry_mode: EntryMode,
oid: ObjectId,
path: BString,
relation: Option<Relation>,
},
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§
impl Eq for Change
impl StructuralPartialEq for Change
Auto Trait Implementations§
impl Freeze for Change
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