pub enum MapSeqEntryAction {
Ins(SeqValue),
Update(SeqValue),
Del(u64),
}Expand description
Action for a sequenced Entry.
Variants§
Ins(SeqValue)
Inserts a new sequenced entry.
Update(SeqValue)
Updates an entry with a new value and version.
Del(u64)
Deletes an entry.
Implementations§
Trait Implementations§
Source§impl Clone for SeqEntryAction
impl Clone for SeqEntryAction
Source§fn clone(&self) -> SeqEntryAction
fn clone(&self) -> SeqEntryAction
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 SeqEntryAction
impl Debug for SeqEntryAction
Source§impl<'de> Deserialize<'de> for SeqEntryAction
impl<'de> Deserialize<'de> for SeqEntryAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SeqEntryAction
impl Hash for SeqEntryAction
Source§impl Ord for SeqEntryAction
impl Ord for SeqEntryAction
Source§fn cmp(&self, other: &SeqEntryAction) -> Ordering
fn cmp(&self, other: &SeqEntryAction) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SeqEntryAction
impl PartialEq for SeqEntryAction
Source§impl PartialOrd for SeqEntryAction
impl PartialOrd for SeqEntryAction
Source§impl Serialize for SeqEntryAction
impl Serialize for SeqEntryAction
impl Eq for SeqEntryAction
impl StructuralPartialEq for SeqEntryAction
Auto Trait Implementations§
impl Freeze for SeqEntryAction
impl RefUnwindSafe for SeqEntryAction
impl Send for SeqEntryAction
impl Sync for SeqEntryAction
impl Unpin for SeqEntryAction
impl UnwindSafe for SeqEntryAction
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,
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