pub struct ForeignKey {
pub table: u32,
pub keys: Vec<i16>,
pub update: char,
pub delete: char,
pub match_type: char,
pub pf_eq: Vec<u32>,
pub pp_eq: Vec<u32>,
pub ff_eq: Vec<u32>,
}Expand description
The facts of a foreign key.
Fields§
§table: u32The OID of the referenced table.
keys: Vec<i16>The referenced columns, confkey.
update: charconfupdtype: a, r, c, n or d.
delete: charconfdeltype.
match_type: charconfmatchtype: s, f or p.
pf_eq: Vec<u32>conpfeqop.
pp_eq: Vec<u32>conppeqop.
ff_eq: Vec<u32>conffeqop.
Trait Implementations§
Source§impl Clone for ForeignKey
impl Clone for ForeignKey
Source§impl Debug for ForeignKey
impl Debug for ForeignKey
impl Eq for ForeignKey
Source§impl PartialEq for ForeignKey
impl PartialEq for ForeignKey
impl StructuralPartialEq for ForeignKey
Auto Trait Implementations§
impl Freeze for ForeignKey
impl RefUnwindSafe for ForeignKey
impl Send for ForeignKey
impl Sync for ForeignKey
impl Unpin for ForeignKey
impl UnsafeUnpin for ForeignKey
impl UnwindSafe for ForeignKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more