[][src]Struct postgres_parser::sys::RuleStmt

#[repr(C)]pub struct RuleStmt {
    pub type_: NodeTag,
    pub relation: *mut RangeVar,
    pub rulename: *mut c_char,
    pub whereClause: *mut Node,
    pub event: CmdType,
    pub instead: bool,
    pub actions: *mut List,
    pub replace: bool,
}

Create Rule Statement

Fields

type_: NodeTagrelation: *mut RangeVarrulename: *mut c_char

relation the rule is for

whereClause: *mut Node

name of the rule

event: CmdType

qualifications

instead: bool

SELECT, INSERT, etc

actions: *mut List

is a 'do instead'?

replace: bool

the action statements

Trait Implementations

impl Debug for RuleStmt[src]

impl Default for RuleStmt[src]

impl Eq for RuleStmt[src]

impl Hash for RuleStmt[src]

impl PartialEq<RuleStmt> for RuleStmt[src]

impl StructuralEq for RuleStmt[src]

impl StructuralPartialEq for RuleStmt[src]

Auto Trait Implementations

impl RefUnwindSafe for RuleStmt

impl !Send for RuleStmt

impl !Sync for RuleStmt

impl Unpin for RuleStmt

impl UnwindSafe for RuleStmt

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.