pub enum OnConflictAction {
DoNothing(Vec<DynIden>),
Update(Vec<OnConflictUpdate>),
}
Expand description
Represents ON CONFLICT (upsert) actions
Variantsยง
DoNothing(Vec<DynIden>)
Do nothing
Update(Vec<OnConflictUpdate>)
Update column value of existing row
Trait Implementationsยง
sourceยงimpl Clone for OnConflictAction
impl Clone for OnConflictAction
sourceยงfn clone(&self) -> OnConflictAction
fn clone(&self) -> OnConflictAction
Returns a copy 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 OnConflictAction
impl Debug for OnConflictAction
sourceยงimpl PartialEq for OnConflictAction
impl PartialEq for OnConflictAction
impl StructuralPartialEq for OnConflictAction
Auto Trait Implementationsยง
impl Freeze for OnConflictAction
impl !RefUnwindSafe for OnConflictAction
impl Send for OnConflictAction
impl Sync for OnConflictAction
impl Unpin for OnConflictAction
impl !UnwindSafe for OnConflictAction
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
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงunsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)