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