Enum UpsertAction
pub enum UpsertAction {
Update,
Ignore,
}Expand description
Action to take when an upsert finds an existing row.
Variants§
Trait Implementations§
§impl Clone for UpsertAction
impl Clone for UpsertAction
§fn clone(&self) -> UpsertAction
fn clone(&self) -> UpsertAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for UpsertAction
impl Debug for UpsertAction
§impl PartialEq for UpsertAction
impl PartialEq for UpsertAction
impl Copy for UpsertAction
impl Eq for UpsertAction
impl StructuralPartialEq for UpsertAction
Auto Trait Implementations§
impl Freeze for UpsertAction
impl RefUnwindSafe for UpsertAction
impl Send for UpsertAction
impl Sync for UpsertAction
impl Unpin for UpsertAction
impl UnsafeUnpin for UpsertAction
impl UnwindSafe for UpsertAction
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
Compare self to
key and return true if they are equal.