pub enum FkSide {
Both,
Referenced,
Referencing,
}Expand description
The side of a foreign key that a row of pg_constraint serves, as addFkConstraint takes it.
Variants§
Both
The constraint of the statement, for both tables.
Referenced
A clone for a partition of the referenced table.
Referencing
A clone for a partition of the referencing table.
Trait Implementations§
impl Copy for FkSide
impl Eq for FkSide
impl StructuralPartialEq for FkSide
Auto Trait Implementations§
impl Freeze for FkSide
impl RefUnwindSafe for FkSide
impl Send for FkSide
impl Sync for FkSide
impl Unpin for FkSide
impl UnsafeUnpin for FkSide
impl UnwindSafe for FkSide
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