pub struct Upsert {
pub source_dialect: Option<DialectType>,
pub table: TableRef,
pub partition: Option<Expression>,
pub columns: Vec<Identifier>,
pub source: Expression,
pub condition: Option<Expression>,
pub primary_key: bool,
}Fields§
§source_dialect: Option<DialectType>Retained source semantics; serialized independently of generator configuration.
table: TableRef§partition: Option<Expression>§columns: Vec<Identifier>§source: Expression§condition: Option<Expression>§primary_key: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Upsert
impl<'de> Deserialize<'de> for Upsert
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
impl StructuralPartialEq for Upsert
Auto Trait Implementations§
impl Freeze for Upsert
impl RefUnwindSafe for Upsert
impl Send for Upsert
impl Sync for Upsert
impl Unpin for Upsert
impl UnsafeUnpin for Upsert
impl UnwindSafe for Upsert
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