pub enum UpsertResult {
Created,
Updated,
}Expand description
Outcome of an upsert_profile call.
Variants§
Created
The profile row did not exist and was inserted.
Updated
The profile row existed and was updated.
Trait Implementations§
Source§impl Clone for UpsertResult
impl Clone for UpsertResult
Source§fn clone(&self) -> UpsertResult
fn clone(&self) -> UpsertResult
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 moreSource§impl Debug for UpsertResult
impl Debug for UpsertResult
Source§impl PartialEq for UpsertResult
impl PartialEq for UpsertResult
Source§fn eq(&self, other: &UpsertResult) -> bool
fn eq(&self, other: &UpsertResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UpsertResult
impl Eq for UpsertResult
impl StructuralPartialEq for UpsertResult
Auto Trait Implementations§
impl Freeze for UpsertResult
impl RefUnwindSafe for UpsertResult
impl Send for UpsertResult
impl Sync for UpsertResult
impl Unpin for UpsertResult
impl UnsafeUnpin for UpsertResult
impl UnwindSafe for UpsertResult
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