Enum safe_app::EntryAction [−][src]
Action performed on a single entry: insert, update or delete.
Variants
Ins(Value)
Inserts a new entry
Update(Value)
Updates an entry with a new value and version
Del(u64)
Deletes an entry by emptying its contents. Contains the version number
Trait Implementations
impl Serialize for EntryAction
[src]
impl Serialize for EntryAction
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl PartialOrd<EntryAction> for EntryAction
[src]
impl PartialOrd<EntryAction> for EntryAction
fn partial_cmp(&self, other: &EntryAction) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &EntryAction) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &EntryAction) -> bool
[src]
fn lt(&self, other: &EntryAction) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &EntryAction) -> bool
[src]
fn le(&self, other: &EntryAction) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &EntryAction) -> bool
[src]
fn gt(&self, other: &EntryAction) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &EntryAction) -> bool
[src]
fn ge(&self, other: &EntryAction) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Hash for EntryAction
[src]
impl Hash for EntryAction
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for EntryAction
[src]
impl Clone for EntryAction
fn clone(&self) -> EntryAction
[src]
fn clone(&self) -> EntryAction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for EntryAction
[src]
impl Debug for EntryAction
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Ord for EntryAction
[src]
impl Ord for EntryAction
fn cmp(&self, other: &EntryAction) -> Ordering
[src]
fn cmp(&self, other: &EntryAction) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl<'de> Deserialize<'de> for EntryAction
[src]
impl<'de> Deserialize<'de> for EntryAction
fn deserialize<__D>(
__deserializer: __D
) -> Result<EntryAction, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<EntryAction, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EntryAction
[src]
impl Eq for EntryAction
impl PartialEq<EntryAction> for EntryAction
[src]
impl PartialEq<EntryAction> for EntryAction
fn eq(&self, other: &EntryAction) -> bool
[src]
fn eq(&self, other: &EntryAction) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &EntryAction) -> bool
[src]
fn ne(&self, other: &EntryAction) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for EntryAction
impl Send for EntryAction
impl Sync for EntryAction
impl Sync for EntryAction