Enum sea_orm::TryInsertResult
source · pub enum TryInsertResult<T> {
Empty,
Conflicted,
Inserted(T),
}
Expand description
The types of results for an INSERT operation
Variants§
Empty
The INSERT statement did not have any value to insert
Conflicted
The INSERT operation did not insert any valid value
Inserted(T)
Successfully inserted
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for TryInsertResult<T>where T: RefUnwindSafe,
impl<T> Send for TryInsertResult<T>where T: Send,
impl<T> Sync for TryInsertResult<T>where T: Sync,
impl<T> Unpin for TryInsertResult<T>where T: Unpin,
impl<T> UnwindSafe for TryInsertResult<T>where T: 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