pub struct ForeignKeyClause<'bump> {
pub tbl_name: Name<'bump>,
pub columns: Option<&'bump [IndexedColumn<'bump>]>,
pub args: &'bump [RefArg<'bump>],
}Expand description
REFERENCES clause
Fields§
§tbl_name: Name<'bump>foreign table name
columns: Option<&'bump [IndexedColumn<'bump>]>foreign table columns
args: &'bump [RefArg<'bump>]referential action(s) / deferrable option(s)
Implementations§
Trait Implementations§
Source§impl<'bump> Debug for ForeignKeyClause<'bump>
impl<'bump> Debug for ForeignKeyClause<'bump>
impl<'bump> Eq for ForeignKeyClause<'bump>
Source§impl<'bump> PartialEq for ForeignKeyClause<'bump>
impl<'bump> PartialEq for ForeignKeyClause<'bump>
Source§fn eq(&self, other: &ForeignKeyClause<'bump>) -> bool
fn eq(&self, other: &ForeignKeyClause<'bump>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'bump> StructuralPartialEq for ForeignKeyClause<'bump>
Auto Trait Implementations§
impl<'bump> Freeze for ForeignKeyClause<'bump>
impl<'bump> RefUnwindSafe for ForeignKeyClause<'bump>
impl<'bump> Send for ForeignKeyClause<'bump>
impl<'bump> Sync for ForeignKeyClause<'bump>
impl<'bump> Unpin for ForeignKeyClause<'bump>
impl<'bump> UnsafeUnpin for ForeignKeyClause<'bump>
impl<'bump> UnwindSafe for ForeignKeyClause<'bump>
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.