Enum sqlite3_parser::ast::TriggerCmd[][src]

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>,
    },
    Delete {
        tbl_name: Name,
        where_clause: Option<Expr>,
    },
    Select(Select),
}

Variants

Update

Fields of Update

or_conflict: Option<ResolveType>tbl_name: Namesets: Vec<Set>from: Option<FromClause>where_clause: Option<Expr>
Insert

Fields of Insert

or_conflict: Option<ResolveType>tbl_name: Namecol_names: Option<Vec<Name>>select: Selectupsert: Option<Upsert>
Delete

Fields of Delete

tbl_name: Namewhere_clause: Option<Expr>
Select(Select)

Trait Implementations

impl Clone for TriggerCmd[src]

impl Debug for TriggerCmd[src]

impl Eq for TriggerCmd[src]

impl PartialEq<TriggerCmd> for TriggerCmd[src]

impl StructuralEq for TriggerCmd[src]

impl StructuralPartialEq for TriggerCmd[src]

impl ToTokens for TriggerCmd[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.