pub struct UpsertResult<E> {
pub entity: E,
pub inserted: bool,
}Expand description
UpsertResult
Result of an upsert that reports whether the entity was inserted.
Fields§
§entity: E§inserted: boolAuto Trait Implementations§
impl<E> Freeze for UpsertResult<E>where
E: Freeze,
impl<E> RefUnwindSafe for UpsertResult<E>where
E: RefUnwindSafe,
impl<E> Send for UpsertResult<E>where
E: Send,
impl<E> Sync for UpsertResult<E>where
E: Sync,
impl<E> Unpin for UpsertResult<E>where
E: Unpin,
impl<E> UnwindSafe for UpsertResult<E>where
E: UnwindSafe,
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