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§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 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