[][src]Struct postgres_parser::sys::CreateTrigStmt

#[repr(C)]pub struct CreateTrigStmt {
    pub type_: NodeTag,
    pub trigname: *mut c_char,
    pub relation: *mut RangeVar,
    pub funcname: *mut List,
    pub args: *mut List,
    pub row: bool,
    pub timing: int16,
    pub events: int16,
    pub columns: *mut List,
    pub whenClause: *mut Node,
    pub isconstraint: bool,
    pub transitionRels: *mut List,
    pub deferrable: bool,
    pub initdeferred: bool,
    pub constrrel: *mut RangeVar,
}

Create TRIGGER Statement

Fields

type_: NodeTagtrigname: *mut c_charrelation: *mut RangeVar

TRIGGER's name

funcname: *mut List

relation trigger is on

args: *mut List

qual. name of function to call

row: bool

list of (T_String) Values or NIL

timing: int16

ROW/STATEMENT */

events: int16

BEFORE, AFTER, or INSTEAD */

columns: *mut List

"OR" of INSERT/UPDATE/DELETE/TRUNCATE

whenClause: *mut Node

column names, or NIL for all columns

isconstraint: bool

qual expression, or NULL if none

transitionRels: *mut List

This is a constraint trigger */

deferrable: bool

TriggerTransition nodes, or NIL if none */

initdeferred: bool

[NOT] DEFERRABLE

constrrel: *mut RangeVar

INITIALLY {DEFERRED|IMMEDIATE}

Trait Implementations

impl Debug for CreateTrigStmt[src]

impl Default for CreateTrigStmt[src]

impl Eq for CreateTrigStmt[src]

impl Hash for CreateTrigStmt[src]

impl PartialEq<CreateTrigStmt> for CreateTrigStmt[src]

impl StructuralEq for CreateTrigStmt[src]

impl StructuralPartialEq for CreateTrigStmt[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, 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.