Enum sqlparser::ast::ConflictTarget
source · pub enum ConflictTarget {
Columns(Vec<Ident>),
OnConstraint(ObjectName),
}
Variants§
Columns(Vec<Ident>)
OnConstraint(ObjectName)
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 moresource§impl Serialize for ConflictTarget
impl Serialize for ConflictTarget
source§impl Visit for ConflictTarget
impl Visit for ConflictTarget
source§impl VisitMut for ConflictTarget
impl VisitMut for ConflictTarget
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for ConflictTarget
impl StructuralEq for ConflictTarget
impl StructuralPartialEq for ConflictTarget
Auto Trait Implementations§
impl RefUnwindSafe for ConflictTarget
impl Send for ConflictTarget
impl Sync for ConflictTarget
impl Unpin for ConflictTarget
impl UnwindSafe for ConflictTarget
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