pub enum PostgresSqlMergeAction {
Insert {
columns: Vec<PostgresSqlName>,
rows: Vec<Vec<PostgresSqlExpression>>,
},
Update {
assignments: Vec<PostgresSqlDmlAssignment>,
},
Delete,
DoNothing,
Unsupported {
reason: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for PostgresSqlMergeAction
impl Clone for PostgresSqlMergeAction
Source§impl Debug for PostgresSqlMergeAction
impl Debug for PostgresSqlMergeAction
impl Eq for PostgresSqlMergeAction
Source§impl PartialEq for PostgresSqlMergeAction
impl PartialEq for PostgresSqlMergeAction
Source§impl Serialize for PostgresSqlMergeAction
impl Serialize for PostgresSqlMergeAction
impl StructuralPartialEq for PostgresSqlMergeAction
Auto Trait Implementations§
impl Forget for PostgresSqlMergeAction
impl Freeze for PostgresSqlMergeActionwhere
*const u8 is !null: Freeze,
PhantomData<PostgresSqlName>: Freeze,
PhantomData<Vec<PostgresSqlExpression>>: Freeze,
PhantomData<PostgresSqlDmlAssignment>: Freeze,
PhantomData<u8>: Freeze,
impl Move for PostgresSqlMergeAction
impl RefUnwindSafe for PostgresSqlMergeAction
impl Send for PostgresSqlMergeAction
impl Sync for PostgresSqlMergeAction
impl Unpin for PostgresSqlMergeAction
impl UnsafeUnpin for PostgresSqlMergeActionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<PostgresSqlName>: UnsafeUnpin,
PhantomData<Vec<PostgresSqlExpression>>: UnsafeUnpin,
PhantomData<PostgresSqlDmlAssignment>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for PostgresSqlMergeAction
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more