[][src]Struct pgx_pg_sys::Constraint

#[repr(C)]pub struct Constraint {
    pub type_: NodeTag,
    pub contype: ConstrType,
    pub conname: *mut c_char,
    pub deferrable: bool,
    pub initdeferred: bool,
    pub location: c_int,
    pub is_no_inherit: bool,
    pub raw_expr: *mut Node,
    pub cooked_expr: *mut c_char,
    pub generated_when: c_char,
    pub keys: *mut List,
    pub including: *mut List,
    pub exclusions: *mut List,
    pub options: *mut List,
    pub indexname: *mut c_char,
    pub indexspace: *mut c_char,
    pub reset_default_tblspc: bool,
    pub access_method: *mut c_char,
    pub where_clause: *mut Node,
    pub pktable: *mut RangeVar,
    pub fk_attrs: *mut List,
    pub pk_attrs: *mut List,
    pub fk_matchtype: c_char,
    pub fk_upd_action: c_char,
    pub fk_del_action: c_char,
    pub old_conpfeqop: *mut List,
    pub old_pktable_oid: Oid,
    pub skip_validation: bool,
    pub initially_valid: bool,
}

Fields

type_: NodeTagcontype: ConstrTypeconname: *mut c_chardeferrable: boolinitdeferred: boollocation: c_intis_no_inherit: boolraw_expr: *mut Nodecooked_expr: *mut c_chargenerated_when: c_charkeys: *mut Listincluding: *mut Listexclusions: *mut Listoptions: *mut Listindexname: *mut c_charindexspace: *mut c_charreset_default_tblspc: boolaccess_method: *mut c_charwhere_clause: *mut Nodepktable: *mut RangeVarfk_attrs: *mut Listpk_attrs: *mut Listfk_matchtype: c_charfk_upd_action: c_charfk_del_action: c_charold_conpfeqop: *mut Listold_pktable_oid: Oidskip_validation: boolinitially_valid: bool

Trait Implementations

impl Clone for Constraint[src]

impl Copy for Constraint[src]

impl Debug for Constraint[src]

impl Default for Constraint[src]

impl Display for Constraint[src]

impl PgNode for Constraint[src]

type NodeType = Constraint

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> ToString for T where
    T: Display + ?Sized
[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.