Enum sqlparser::ast::OnConflictAction
source · pub enum OnConflictAction {
DoNothing,
DoUpdate(DoUpdate),
}
Variants§
Trait Implementations§
source§impl Clone for OnConflictAction
impl Clone for OnConflictAction
source§fn clone(&self) -> OnConflictAction
fn clone(&self) -> OnConflictAction
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 OnConflictAction
impl Debug for OnConflictAction
source§impl Display for OnConflictAction
impl Display for OnConflictAction
source§impl Hash for OnConflictAction
impl Hash for OnConflictAction
source§impl Ord for OnConflictAction
impl Ord for OnConflictAction
source§fn cmp(&self, other: &OnConflictAction) -> Ordering
fn cmp(&self, other: &OnConflictAction) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<OnConflictAction> for OnConflictAction
impl PartialEq<OnConflictAction> for OnConflictAction
source§fn eq(&self, other: &OnConflictAction) -> bool
fn eq(&self, other: &OnConflictAction) -> bool
source§impl PartialOrd<OnConflictAction> for OnConflictAction
impl PartialOrd<OnConflictAction> for OnConflictAction
source§fn partial_cmp(&self, other: &OnConflictAction) -> Option<Ordering>
fn partial_cmp(&self, other: &OnConflictAction) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more