pub enum ConflictAction {
DoNothing,
DoUpdate(Vec<UpdateAssignment>),
}Expand description
Action to take when a conflict occurs.
Variants§
DoNothing
DO NOTHING - skip the conflicting row.
DoUpdate(Vec<UpdateAssignment>)
DO UPDATE SET - update the existing row.
Trait Implementations§
Source§impl Clone for ConflictAction
impl Clone for ConflictAction
Source§fn clone(&self) -> ConflictAction
fn clone(&self) -> ConflictAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConflictAction
impl RefUnwindSafe for ConflictAction
impl Send for ConflictAction
impl Sync for ConflictAction
impl Unpin for ConflictAction
impl UnsafeUnpin for ConflictAction
impl UnwindSafe for ConflictAction
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