pub struct TriggerCmdInsert {
pub or_conflict: Option<ResolveType>,
pub tbl_name: Name,
pub col_names: Option<DistinctNames>,
pub select: Box<Select>,
pub upsert: Option<Upsert>,
pub returning: Option<Vec<ResultColumn>>,
}Expand description
INSERT trigger command
Fields§
§or_conflict: Option<ResolveType>OR
tbl_name: Nametable name
col_names: Option<DistinctNames>COLUMNS
select: Box<Select>SELECT or VALUES
upsert: Option<Upsert>ON CONFLICT clause
returning: Option<Vec<ResultColumn>>RETURNING
Trait Implementations§
Source§impl Clone for TriggerCmdInsert
impl Clone for TriggerCmdInsert
Source§fn clone(&self) -> TriggerCmdInsert
fn clone(&self) -> TriggerCmdInsert
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TriggerCmdInsert
impl Debug for TriggerCmdInsert
Source§impl PartialEq for TriggerCmdInsert
impl PartialEq for TriggerCmdInsert
Source§impl ToSqlString for TriggerCmdInsert
impl ToSqlString for TriggerCmdInsert
Source§fn to_sql_string<C: ToSqlContext>(&self, context: &C) -> String
fn to_sql_string<C: ToSqlContext>(&self, context: &C) -> String
Convert the given value to String
impl Eq for TriggerCmdInsert
impl StructuralPartialEq for TriggerCmdInsert
Auto Trait Implementations§
impl Freeze for TriggerCmdInsert
impl RefUnwindSafe for TriggerCmdInsert
impl Send for TriggerCmdInsert
impl Sync for TriggerCmdInsert
impl Unpin for TriggerCmdInsert
impl UnwindSafe for TriggerCmdInsert
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.