pub struct ValueChange {
pub path: String,
pub to: Option<Value>,
}Expand description
A single node value change detected by diff_snapshots.
Fields§
§path: StringNode path that changed.
to: Option<Value>New value. None means the node transitioned to sentinel (INVALIDATE).
Trait Implementations§
Source§impl Clone for ValueChange
impl Clone for ValueChange
Source§fn clone(&self) -> ValueChange
fn clone(&self) -> ValueChange
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 moreAuto Trait Implementations§
impl Freeze for ValueChange
impl RefUnwindSafe for ValueChange
impl Send for ValueChange
impl Sync for ValueChange
impl Unpin for ValueChange
impl UnsafeUnpin for ValueChange
impl UnwindSafe for ValueChange
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