pub struct MergeStmt {
pub target: String,
pub target_qualifier: String,
pub target_alias: Option<String>,
pub source: FromClause,
pub join_condition: Expr,
pub when_clauses: Vec<MergeWhen>,
pub returning: Vec<Projection>,
pub returning_aliases: ReturningAliases,
}Fields§
§target: String§target_qualifier: String§target_alias: Option<String>§source: FromClause§join_condition: Expr§when_clauses: Vec<MergeWhen>§returning: Vec<Projection>MERGE ... RETURNING ... projection list. Empty when absent.
returning_aliases: ReturningAliasesTrait Implementations§
Source§impl<'de> Deserialize<'de> for MergeStmt
impl<'de> Deserialize<'de> for MergeStmt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MergeStmt
impl RefUnwindSafe for MergeStmt
impl Send for MergeStmt
impl Sync for MergeStmt
impl Unpin for MergeStmt
impl UnsafeUnpin for MergeStmt
impl UnwindSafe for MergeStmt
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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