pub struct TriggerCmdUpdate {
pub or_conflict: Option<ResolveType>,
pub tbl_name: Name,
pub sets: Vec<Set>,
pub from: Option<FromClause>,
pub where_clause: Option<Expr>,
}Expand description
UPDATE trigger command
Fields§
§or_conflict: Option<ResolveType>OR
tbl_name: Nametable name
sets: Vec<Set>SET assignments
from: Option<FromClause>FROM
where_clause: Option<Expr>WHERE clause
Trait Implementations§
Source§impl Clone for TriggerCmdUpdate
impl Clone for TriggerCmdUpdate
Source§fn clone(&self) -> TriggerCmdUpdate
fn clone(&self) -> TriggerCmdUpdate
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 moreSource§impl Debug for TriggerCmdUpdate
impl Debug for TriggerCmdUpdate
impl Eq for TriggerCmdUpdate
Source§impl PartialEq for TriggerCmdUpdate
impl PartialEq for TriggerCmdUpdate
Source§fn eq(&self, other: &TriggerCmdUpdate) -> bool
fn eq(&self, other: &TriggerCmdUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TriggerCmdUpdate
Source§impl ToSqlString for TriggerCmdUpdate
impl ToSqlString for TriggerCmdUpdate
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
Auto Trait Implementations§
impl Freeze for TriggerCmdUpdate
impl RefUnwindSafe for TriggerCmdUpdate
impl Send for TriggerCmdUpdate
impl Sync for TriggerCmdUpdate
impl Unpin for TriggerCmdUpdate
impl UnsafeUnpin for TriggerCmdUpdate
impl UnwindSafe for TriggerCmdUpdate
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.