pub struct MergeClause {
pub kind: MatchKind,
pub command: MergeCommand,
pub query: Box<Query>,
}Expand description
MergeAction: a WHEN clause of a MERGE.
Fields§
§kind: MatchKind§command: MergeCommand§query: Box<Query>The query of the clause, which reads the row of the target table with the ID of its version and the carried values. It gives the new row of an INSERT or an UPDATE with the conditions of the check constraints after the columns, or one true value for a DELETE and DO NOTHING. It gives no row when the condition of the clause is not true.
Trait Implementations§
Source§impl Clone for MergeClause
impl Clone for MergeClause
Source§impl Debug for MergeClause
impl Debug for MergeClause
Source§impl PartialEq for MergeClause
impl PartialEq for MergeClause
impl StructuralPartialEq for MergeClause
Auto Trait Implementations§
impl Freeze for MergeClause
impl RefUnwindSafe for MergeClause
impl Send for MergeClause
impl Sync for MergeClause
impl Unpin for MergeClause
impl UnsafeUnpin for MergeClause
impl UnwindSafe for MergeClause
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