Struct sn_data_types::MapUnseqEntryActions [−][src]
Unsequenced Entry Actions for given entry keys.
Implementations
impl UnseqEntryActions[src]
pub fn new() -> Self[src]
Creates a new unsequenced Entry Actions list.
pub fn actions(&self) -> &BTreeMap<Vec<u8>, UnseqEntryAction>[src]
Gets the actions.
pub fn into_actions(self) -> BTreeMap<Vec<u8>, UnseqEntryAction>[src]
Converts UnseqEntryActions struct to a BTreeMap of the keys with their corresponding action.
pub fn ins(mut self: Self, key: Vec<u8>, content: Vec<u8>) -> Self[src]
Insert a new key-value pair
pub fn update(mut self: Self, key: Vec<u8>, content: Vec<u8>) -> Self[src]
Update existing key-value pair
pub fn del(mut self: Self, key: Vec<u8>) -> Self[src]
Delete existing key
pub fn add_action(&mut self, key: Vec<u8>, action: UnseqEntryAction)[src]
Adds a UnseqEntryAction to the list of actions, replacing it if it is already present
Trait Implementations
impl Clone for UnseqEntryActions[src]
fn clone(&self) -> UnseqEntryActions[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for UnseqEntryActions[src]
impl Default for UnseqEntryActions[src]
fn default() -> UnseqEntryActions[src]
impl<'de> Deserialize<'de> for UnseqEntryActions[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
    __D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Eq for UnseqEntryActions[src]
impl From<BTreeMap<Vec<u8, Global>, UnseqEntryAction>> for UnseqEntryActions[src]
impl From<UnseqEntryActions> for EntryActions[src]
fn from(entry_actions: UnseqEntryActions) -> Self[src]
impl Hash for UnseqEntryActions[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0[src]
H: Hasher,
impl Ord for UnseqEntryActions[src]
fn cmp(&self, other: &UnseqEntryActions) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<UnseqEntryActions> for UnseqEntryActions[src]
fn eq(&self, other: &UnseqEntryActions) -> bool[src]
fn ne(&self, other: &UnseqEntryActions) -> bool[src]
impl PartialOrd<UnseqEntryActions> for UnseqEntryActions[src]
fn partial_cmp(&self, other: &UnseqEntryActions) -> Option<Ordering>[src]
fn lt(&self, other: &UnseqEntryActions) -> bool[src]
fn le(&self, other: &UnseqEntryActions) -> bool[src]
fn gt(&self, other: &UnseqEntryActions) -> bool[src]
fn ge(&self, other: &UnseqEntryActions) -> bool[src]
impl Serialize for UnseqEntryActions[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer, [src]
__S: Serializer,
impl StructuralEq for UnseqEntryActions[src]
impl StructuralPartialEq for UnseqEntryActions[src]
Auto Trait Implementations
impl RefUnwindSafe for UnseqEntryActions[src]
impl Send for UnseqEntryActions[src]
impl Sync for UnseqEntryActions[src]
impl Unpin for UnseqEntryActions[src]
impl UnwindSafe for UnseqEntryActions[src]
Blanket Implementations
impl<A> Actor for A where
    A: Clone + Ord + Hash, [src]
A: Clone + Ord + Hash,
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> Member for T where
    T: Clone + Eq + Hash, [src]
T: Clone + Eq + Hash,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
V: MultiLane<T>,