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
Delete
Select(Select)
Trait Implementations§
source§impl Clone for TriggerCmd
impl Clone for TriggerCmd
source§fn clone(&self) -> TriggerCmd
fn clone(&self) -> TriggerCmd
Returns a copy 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 TriggerCmd
impl Debug for TriggerCmd
source§impl PartialEq for TriggerCmd
impl PartialEq for TriggerCmd
source§fn 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 ==
.source§impl 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§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.