Enum sqlparser::ast::MergeClause
source · [−]pub enum MergeClause {
MatchedUpdate {
predicate: Option<Expr>,
assignments: Vec<Assignment>,
},
MatchedDelete(Option<Expr>),
NotMatched {
predicate: Option<Expr>,
columns: Vec<Ident>,
values: Values,
},
}
Expand description
Variants
MatchedUpdate
MatchedDelete(Option<Expr>)
NotMatched
Trait Implementations
sourceimpl Clone for MergeClause
impl Clone for MergeClause
sourcefn clone(&self) -> MergeClause
fn clone(&self) -> MergeClause
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MergeClause
impl Debug for MergeClause
sourceimpl Display for MergeClause
impl Display for MergeClause
sourceimpl Hash for MergeClause
impl Hash for MergeClause
sourceimpl PartialEq<MergeClause> for MergeClause
impl PartialEq<MergeClause> for MergeClause
sourcefn eq(&self, other: &MergeClause) -> bool
fn eq(&self, other: &MergeClause) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MergeClause) -> bool
fn ne(&self, other: &MergeClause) -> bool
This method tests for !=
.
impl Eq for MergeClause
impl StructuralEq for MergeClause
impl StructuralPartialEq for MergeClause
Auto Trait Implementations
impl RefUnwindSafe for MergeClause
impl Send for MergeClause
impl Sync for MergeClause
impl Unpin for MergeClause
impl UnwindSafe for MergeClause
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more