pub enum UpsertResult {
Inserted {
position: usize,
},
Updated {
position: usize,
},
}Expand description
Result of an upsert operation
Variants§
Inserted
Entity was inserted at a new position
Updated
Entity was updated (may or may not have moved)
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 · 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
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 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