[−][src]Struct postgres_parser::sys::Constraint
Fields
type_: NodeTagcontype: ConstrTypeconname: *mut c_charFields used for most/all constraint types:
deferrable: boolConstraint name, or NULL if unnamed
initdeferred: boolDEFERRABLE?
location: c_intINITIALLY DEFERRED?
is_no_inherit: boolFields used for constraints with expressions (CHECK and DEFAULT):
raw_expr: *mut Nodeis constraint noninheritable?
cooked_expr: *mut c_charexpr, as untransformed parse tree
generated_when: c_charexpr, as nodeToString representation
keys: *mut ListFields used for unique constraints (UNIQUE and PRIMARY KEY):
including: *mut ListString nodes naming referenced key column(s)
exclusions: *mut ListFields used for EXCLUSION constraints:
options: *mut ListFields used for index constraints (UNIQUE, PRIMARY KEY, EXCLUSION):
indexname: *mut c_charoptions from WITH clause
indexspace: *mut c_charexisting index to use; otherwise NULL
reset_default_tblspc: boolindex tablespace; NULL for default
access_method: *mut c_charreset default_tablespace prior to creating the index */
where_clause: *mut Nodeindex access method; NULL for default
pktable: *mut RangeVarFields used for FOREIGN KEY constraints:
fk_attrs: *mut ListPrimary key table
pk_attrs: *mut ListAttributes of foreign key
fk_matchtype: c_charCorresponding attrs in PK table
fk_upd_action: c_charFULL, PARTIAL, SIMPLE
fk_del_action: c_charON UPDATE action
old_conpfeqop: *mut ListON DELETE action
old_pktable_oid: Oidpg_constraint.conpfeqop of my former self
skip_validation: boolFields used for constraints that allow a NOT VALID specification
initially_valid: boolskip validation of existing rows?
Trait Implementations
impl Debug for Constraint[src]
impl Default for Constraint[src]
impl Eq for Constraint[src]
impl Hash for Constraint[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<Constraint> for Constraint[src]
fn eq(&self, other: &Constraint) -> bool[src]
fn ne(&self, other: &Constraint) -> bool[src]
impl StructuralEq for Constraint[src]
impl StructuralPartialEq for Constraint[src]
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
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,