pub enum OnConflictAction<'a> {
DoNothing(Span),
DoUpdateSet {
do_update_set_span: Span,
sets: Vec<(Identifier<'a>, Expression<'a>)>,
where_: Option<(Span, Box<Expression<'a>>)>,
},
}
Variants§
DoNothing(Span)
DoUpdateSet
Trait Implementations§
Source§impl<'a> Clone for OnConflictAction<'a>
impl<'a> Clone for OnConflictAction<'a>
Source§fn clone(&self) -> OnConflictAction<'a>
fn clone(&self) -> OnConflictAction<'a>
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<'a> Debug for OnConflictAction<'a>
impl<'a> Debug for OnConflictAction<'a>
Auto Trait Implementations§
impl<'a> Freeze for OnConflictAction<'a>
impl<'a> RefUnwindSafe for OnConflictAction<'a>
impl<'a> Send for OnConflictAction<'a>
impl<'a> Sync for OnConflictAction<'a>
impl<'a> Unpin for OnConflictAction<'a>
impl<'a> UnwindSafe for OnConflictAction<'a>
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