Enum EntryChange
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§
§impl Clone for EntryChange
impl Clone for EntryChange
§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 more§impl Debug for EntryChange
impl Debug for EntryChange
§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 !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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more