pub struct MapUnseqEntryActions { /* private fields */ }Expand description
Unsequenced Entry Actions for given entry keys.
Implementations§
Source§impl UnseqEntryActions
impl UnseqEntryActions
Sourcepub fn into_actions(self) -> BTreeMap<Vec<u8>, UnseqEntryAction>
pub fn into_actions(self) -> BTreeMap<Vec<u8>, UnseqEntryAction>
Converts UnseqEntryActions struct to a BTreeMap of the keys with their corresponding action.
Sourcepub fn add_action(&mut self, key: Vec<u8>, action: UnseqEntryAction)
pub fn add_action(&mut self, key: Vec<u8>, action: UnseqEntryAction)
Adds a UnseqEntryAction to the list of actions, replacing it if it is already present
Trait Implementations§
Source§impl Clone for UnseqEntryActions
impl Clone for UnseqEntryActions
Source§fn clone(&self) -> UnseqEntryActions
fn clone(&self) -> UnseqEntryActions
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 UnseqEntryActions
impl Debug for UnseqEntryActions
Source§impl Default for UnseqEntryActions
impl Default for UnseqEntryActions
Source§fn default() -> UnseqEntryActions
fn default() -> UnseqEntryActions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnseqEntryActions
impl<'de> Deserialize<'de> for UnseqEntryActions
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 From<BTreeMap<Vec<u8>, UnseqEntryAction>> for UnseqEntryActions
impl From<BTreeMap<Vec<u8>, UnseqEntryAction>> for UnseqEntryActions
Source§impl From<UnseqEntryActions> for BTreeMap<Vec<u8>, UnseqEntryAction>
impl From<UnseqEntryActions> for BTreeMap<Vec<u8>, UnseqEntryAction>
Source§fn from(actions: UnseqEntryActions) -> Self
fn from(actions: UnseqEntryActions) -> Self
Converts to this type from the input type.
Source§impl From<UnseqEntryActions> for EntryActions
impl From<UnseqEntryActions> for EntryActions
Source§fn from(entry_actions: UnseqEntryActions) -> Self
fn from(entry_actions: UnseqEntryActions) -> Self
Converts to this type from the input type.
Source§impl Hash for UnseqEntryActions
impl Hash for UnseqEntryActions
Source§impl Ord for UnseqEntryActions
impl Ord for UnseqEntryActions
Source§fn cmp(&self, other: &UnseqEntryActions) -> Ordering
fn cmp(&self, other: &UnseqEntryActions) -> 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 UnseqEntryActions
impl PartialEq for UnseqEntryActions
Source§impl PartialOrd for UnseqEntryActions
impl PartialOrd for UnseqEntryActions
Source§impl Serialize for UnseqEntryActions
impl Serialize for UnseqEntryActions
impl Eq for UnseqEntryActions
impl StructuralPartialEq for UnseqEntryActions
Auto Trait Implementations§
impl Freeze for UnseqEntryActions
impl RefUnwindSafe for UnseqEntryActions
impl Send for UnseqEntryActions
impl Sync for UnseqEntryActions
impl Unpin for UnseqEntryActions
impl UnwindSafe for UnseqEntryActions
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