Enum sql_parse::OnConflictAction
source · 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