pub enum MergeAction {
Update(Set),
Delete,
DoNothing,
Insert(MergeInsert),
}Expand description
What a MergeWhen’s THEN does.
Variants§
Update(Set)
UPDATE SET … — a matched arm. The Set is the same assignment list an
UPDATE carries, keyword supplied here.
Delete
DELETE — a matched arm.
DoNothing
DO NOTHING — any arm.
Insert(MergeInsert)
INSERT … — a not-matched arm.
Trait Implementations§
Source§impl Clone for MergeAction
impl Clone for MergeAction
Source§fn clone(&self) -> MergeAction
fn clone(&self) -> MergeAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for MergeAction
impl !UnwindSafe for MergeAction
impl Freeze for MergeAction
impl Send for MergeAction
impl Sync for MergeAction
impl Unpin for MergeAction
impl UnsafeUnpin for MergeAction
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