pub struct DiffChange {
pub from: Value,
pub to: Value,
}Expand description
A single changed key with its previous and new value.
Fields§
§from: Value§to: ValueTrait Implementations§
Source§impl Clone for DiffChange
impl Clone for DiffChange
Source§fn clone(&self) -> DiffChange
fn clone(&self) -> DiffChange
Returns a duplicate of the value. Read more
1.0.0 · 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 DiffChange
impl RefUnwindSafe for DiffChange
impl Send for DiffChange
impl Sync for DiffChange
impl Unpin for DiffChange
impl UnsafeUnpin for DiffChange
impl UnwindSafe for DiffChange
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