Struct pgx_pg_sys::Constraint
source · [−]#[repr(C)]pub struct Constraint {Show 29 fields
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: boolTrait Implementations
sourceimpl Clone for Constraint
impl Clone for Constraint
sourcefn clone(&self) -> Constraint
fn clone(&self) -> Constraint
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for Constraint
impl Debug for Constraint
sourceimpl Default for Constraint
impl Default for Constraint
sourceimpl Display for Constraint
impl Display for Constraint
sourceimpl PgNode for Constraint
impl PgNode for Constraint
sourcefn display_node(&self) -> String
fn display_node(&self) -> String
Format this node
impl Copy for Constraint
Auto Trait Implementations
impl RefUnwindSafe for Constraint
impl !Send for Constraint
impl !Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more