pub struct MergeInsertExpr {
pub columns: Vec<Ident>,
pub kind: MergeInsertKind,
}Expand description
Fields§
§columns: Vec<Ident>Columns (if any) specified by the insert.
Example:
INSERT (product, quantity) VALUES(product, quantity)
INSERT (product, quantity) ROWkind: MergeInsertKindThe insert type used by the statement.
Trait Implementations§
Source§impl AsNodeKey for MergeInsertExpr
impl AsNodeKey for MergeInsertExpr
fn as_node_key(&self) -> NodeKey<'_>
Source§impl Clone for MergeInsertExpr
impl Clone for MergeInsertExpr
Source§fn clone(&self) -> MergeInsertExpr
fn clone(&self) -> MergeInsertExpr
Returns a duplicate 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 MergeInsertExpr
impl Debug for MergeInsertExpr
Source§impl Display for MergeInsertExpr
impl Display for MergeInsertExpr
Source§impl Hash for MergeInsertExpr
impl Hash for MergeInsertExpr
Source§impl Ord for MergeInsertExpr
impl Ord for MergeInsertExpr
Source§fn cmp(&self, other: &MergeInsertExpr) -> Ordering
fn cmp(&self, other: &MergeInsertExpr) -> 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 MergeInsertExpr
impl PartialEq for MergeInsertExpr
Source§impl PartialOrd for MergeInsertExpr
impl PartialOrd for MergeInsertExpr
Source§impl<'ast> Transformable<'ast> for MergeInsertExpr
impl<'ast> Transformable<'ast> for MergeInsertExpr
Source§impl Visitable for MergeInsertExpr
impl Visitable for MergeInsertExpr
Source§fn accept<'ast, V: Visitor<'ast>>(
&'ast self,
visitor: &mut V,
) -> ControlFlow<Break<V::Error>>
fn accept<'ast, V: Visitor<'ast>>( &'ast self, visitor: &mut V, ) -> ControlFlow<Break<V::Error>>
Accepts a borrowed
Visitor and traverses the AST starting at self invoking Visitor::enter and
Visitor::exit as nodes are entered and exiting respectively.Source§fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
Tries to downcast
self as &Target.Source§fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
Tries to downcast
self as &mut Target.impl Eq for MergeInsertExpr
impl StructuralPartialEq for MergeInsertExpr
Auto Trait Implementations§
impl Freeze for MergeInsertExpr
impl RefUnwindSafe for MergeInsertExpr
impl Send for MergeInsertExpr
impl Sync for MergeInsertExpr
impl Unpin for MergeInsertExpr
impl UnwindSafe for MergeInsertExpr
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