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 for ConflictTarget
impl PartialEq for ConflictTarget
source§impl PartialOrd for ConflictTarget
impl PartialOrd for ConflictTarget
source§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 StructuralPartialEq for ConflictTarget
Auto Trait Implementations§
impl Freeze for ConflictTarget
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)