pub enum UpsertOutcome {
Created,
Updated,
}Expand description
Result of inserting or merging a memory entry.
Variants§
Trait Implementations§
Source§impl Clone for UpsertOutcome
impl Clone for UpsertOutcome
Source§fn clone(&self) -> UpsertOutcome
fn clone(&self) -> UpsertOutcome
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 UpsertOutcome
impl Debug for UpsertOutcome
Source§impl PartialEq for UpsertOutcome
impl PartialEq for UpsertOutcome
impl Copy for UpsertOutcome
impl Eq for UpsertOutcome
impl StructuralPartialEq for UpsertOutcome
Auto Trait Implementations§
impl Freeze for UpsertOutcome
impl RefUnwindSafe for UpsertOutcome
impl Send for UpsertOutcome
impl Sync for UpsertOutcome
impl Unpin for UpsertOutcome
impl UnsafeUnpin for UpsertOutcome
impl UnwindSafe for UpsertOutcome
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.