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<'de> Deserialize<'de> for OnConflictAction
impl<'de> Deserialize<'de> for OnConflictAction
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
This method tests for
self
and other
values to be equal, and is used
by ==
.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 moresource§impl Serialize for OnConflictAction
impl Serialize for OnConflictAction
source§impl Visit for OnConflictAction
impl Visit for OnConflictAction
source§impl VisitMut for OnConflictAction
impl VisitMut for OnConflictAction
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for OnConflictAction
impl StructuralEq for OnConflictAction
impl StructuralPartialEq for OnConflictAction
Auto Trait Implementations§
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