Enum sqlite3_parser::ast::TriggerCmd
source · [−]pub enum TriggerCmd {
Update {
or_conflict: Option<ResolveType>,
tbl_name: Name,
sets: Vec<Set>,
from: Option<FromClause>,
where_clause: Option<Expr>,
},
Insert {
or_conflict: Option<ResolveType>,
tbl_name: Name,
col_names: Option<Vec<Name>>,
select: Select,
upsert: Option<Upsert>,
returning: Option<Vec<ResultColumn>>,
},
Delete {
tbl_name: Name,
where_clause: Option<Expr>,
},
Select(Select),
}Variants
Update
Insert
Fields
or_conflict: Option<ResolveType>tbl_name: Nameselect: Selectreturning: Option<Vec<ResultColumn>>Delete
Select(Select)
Trait Implementations
sourceimpl Clone for TriggerCmd
impl Clone for TriggerCmd
sourcefn clone(&self) -> TriggerCmd
fn clone(&self) -> TriggerCmd
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TriggerCmd
impl Debug for TriggerCmd
sourceimpl PartialEq<TriggerCmd> for TriggerCmd
impl PartialEq<TriggerCmd> for TriggerCmd
sourcefn eq(&self, other: &TriggerCmd) -> bool
fn eq(&self, other: &TriggerCmd) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TriggerCmd) -> bool
fn ne(&self, other: &TriggerCmd) -> bool
This method tests for !=.
sourceimpl ToTokens for TriggerCmd
impl ToTokens for TriggerCmd
impl Eq for TriggerCmd
impl StructuralEq for TriggerCmd
impl StructuralPartialEq for TriggerCmd
Auto Trait Implementations
impl RefUnwindSafe for TriggerCmd
impl Send for TriggerCmd
impl Sync for TriggerCmd
impl Unpin for TriggerCmd
impl UnwindSafe for TriggerCmd
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more