pub enum EntryChange {
Inserted(Out),
Updated(Out, Out),
Removed(Out),
}Expand description
A single change done over a map-component of shared data type.
Variants§
Inserted(Out)
Informs about a new value inserted under specified entry.
Updated(Out, Out)
Informs about a change of old value (1st field) to a new one (2nd field) under a corresponding entry.
Removed(Out)
Informs about a removal of a corresponding entry - contains a removed value.
Trait Implementations§
Source§impl Clone for EntryChange
impl Clone for EntryChange
Source§fn clone(&self) -> EntryChange
fn clone(&self) -> EntryChange
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 moreSource§impl Debug for EntryChange
impl Debug for EntryChange
Source§impl PartialEq for EntryChange
impl PartialEq for EntryChange
impl StructuralPartialEq for EntryChange
Auto Trait Implementations§
impl Freeze for EntryChange
impl !RefUnwindSafe for EntryChange
impl Send for EntryChange
impl Sync for EntryChange
impl Unpin for EntryChange
impl UnsafeUnpin for EntryChange
impl !UnwindSafe for EntryChange
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