[][src]Struct postgres_parser::nodes::Constraint

pub struct Constraint {
    pub contype: ConstrType,
    pub conname: Option<String>,
    pub deferrable: bool,
    pub initdeferred: bool,
    pub location: i32,
    pub is_no_inherit: bool,
    pub raw_expr: Option<Box<Node>>,
    pub cooked_expr: Option<String>,
    pub generated_when: char,
    pub keys: Option<Vec<Node>>,
    pub including: Option<Vec<Node>>,
    pub exclusions: Option<Vec<Node>>,
    pub options: Option<Vec<Node>>,
    pub indexname: Option<String>,
    pub indexspace: Option<String>,
    pub reset_default_tblspc: bool,
    pub access_method: Option<String>,
    pub where_clause: Option<Box<Node>>,
    pub pktable: Option<Box<RangeVar>>,
    pub fk_attrs: Option<Vec<Node>>,
    pub pk_attrs: Option<Vec<Node>>,
    pub fk_matchtype: char,
    pub fk_upd_action: char,
    pub fk_del_action: char,
    pub old_conpfeqop: Option<Vec<Node>>,
    pub old_pktable_oid: Oid,
    pub skip_validation: bool,
    pub initially_valid: bool,
}

Fields

contype: ConstrTypeconname: Option<String>deferrable: boolinitdeferred: boollocation: i32is_no_inherit: boolraw_expr: Option<Box<Node>>cooked_expr: Option<String>generated_when: charkeys: Option<Vec<Node>>including: Option<Vec<Node>>exclusions: Option<Vec<Node>>options: Option<Vec<Node>>indexname: Option<String>indexspace: Option<String>reset_default_tblspc: boolaccess_method: Option<String>where_clause: Option<Box<Node>>pktable: Option<Box<RangeVar>>fk_attrs: Option<Vec<Node>>pk_attrs: Option<Vec<Node>>fk_matchtype: charfk_upd_action: charfk_del_action: charold_conpfeqop: Option<Vec<Node>>old_pktable_oid: Oidskip_validation: boolinitially_valid: bool

Trait Implementations

impl Debug for Constraint[src]

impl<'de> Deserialize<'de> for Constraint[src]

impl Eq for Constraint[src]

impl PartialEq<Constraint> for Constraint[src]

impl Serialize for Constraint[src]

impl StructuralEq for Constraint[src]

impl StructuralPartialEq for Constraint[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.