Enum sqlparser::ast::ConflictTarget
source · pub enum ConflictTarget {
Columns(Vec<Located<Ident>>),
OnConstraint(ObjectName),
}
Variants§
Trait Implementations§
source§impl Clone for ConflictTarget
impl Clone for ConflictTarget
source§fn clone(&self) -> ConflictTarget
fn clone(&self) -> ConflictTarget
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 ConflictTarget
impl Debug for ConflictTarget
source§impl<'de> Deserialize<'de> for ConflictTarget
impl<'de> Deserialize<'de> for ConflictTarget
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 ConflictTarget
impl Display for ConflictTarget
source§impl Hash for ConflictTarget
impl Hash for ConflictTarget
source§impl Ord for ConflictTarget
impl Ord for ConflictTarget
source§fn cmp(&self, other: &ConflictTarget) -> Ordering
fn cmp(&self, other: &ConflictTarget) -> 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<ConflictTarget> for ConflictTarget
impl PartialEq<ConflictTarget> for ConflictTarget
source§fn eq(&self, other: &ConflictTarget) -> bool
fn eq(&self, other: &ConflictTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ConflictTarget> for ConflictTarget
impl PartialOrd<ConflictTarget> for ConflictTarget
source§fn partial_cmp(&self, other: &ConflictTarget) -> Option<Ordering>
fn partial_cmp(&self, other: &ConflictTarget) -> 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