pub enum OnConflictUpdate {
Column(DynIden),
Expr(DynIden, SimpleExpr),
}
Expand description
Represents strategies to update column in ON CONFLICT (upsert) actions
Variantsยง
Column(DynIden)
Update column value of existing row with inserting value
Expr(DynIden, SimpleExpr)
Update column value of existing row with expression
Trait Implementationsยง
sourceยงimpl Clone for OnConflictUpdate
impl Clone for OnConflictUpdate
sourceยงfn clone(&self) -> OnConflictUpdate
fn clone(&self) -> OnConflictUpdate
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 OnConflictUpdate
impl Debug for OnConflictUpdate
sourceยงimpl PartialEq for OnConflictUpdate
impl PartialEq for OnConflictUpdate
impl StructuralPartialEq for OnConflictUpdate
Auto Trait Implementationsยง
impl Freeze for OnConflictUpdate
impl !RefUnwindSafe for OnConflictUpdate
impl Send for OnConflictUpdate
impl Sync for OnConflictUpdate
impl Unpin for OnConflictUpdate
impl !UnwindSafe for OnConflictUpdate
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
)