Enum sqlpop::ast::TriggerCmd
[−]
[src]
pub enum TriggerCmd { Update { or_conflict: Option<ResolveType>, tbl_name: Name, sets: Vec<Set>, where_clause: Option<Expr>, }, Insert { or_conflict: Option<ResolveType>, tbl_name: Name, col_names: Option<Vec<Name>>, select: Select, }, Delete { tbl_name: Name, where_clause: Option<Expr>, }, Select(Select), }
Variants
Update
Fields of Update
or_conflict: Option<ResolveType> | |
tbl_name: Name | |
sets: Vec<Set> | |
where_clause: Option<Expr> |
Insert
Fields of Insert
or_conflict: Option<ResolveType> | |
tbl_name: Name | |
col_names: Option<Vec<Name>> | |
select: Select |
Delete
Fields of Delete
tbl_name: Name | |
where_clause: Option<Expr> |
Select(Select)
Trait Implementations
impl Clone for TriggerCmd
[src]
fn clone(&self) -> TriggerCmd
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for TriggerCmd
[src]
impl PartialEq for TriggerCmd
[src]
fn eq(&self, __arg_0: &TriggerCmd) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TriggerCmd) -> bool
This method tests for !=
.