pub struct MultiColumnForeignKey {
pub columns: Vec<String>,
pub ref_table: String,
pub ref_columns: Vec<String>,
pub on_delete: FkAction,
pub on_update: FkAction,
pub deferrable: Deferrable,
pub name: Option<String>,
}Expand description
Table-level multi-column foreign key
Fields§
§columns: Vec<String>§ref_table: String§ref_columns: Vec<String>§on_delete: FkAction§on_update: FkAction§deferrable: Deferrable§name: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for MultiColumnForeignKey
impl Clone for MultiColumnForeignKey
Source§fn clone(&self) -> MultiColumnForeignKey
fn clone(&self) -> MultiColumnForeignKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MultiColumnForeignKey
impl Debug for MultiColumnForeignKey
Source§impl PartialEq for MultiColumnForeignKey
impl PartialEq for MultiColumnForeignKey
impl StructuralPartialEq for MultiColumnForeignKey
Auto Trait Implementations§
impl Freeze for MultiColumnForeignKey
impl RefUnwindSafe for MultiColumnForeignKey
impl Send for MultiColumnForeignKey
impl Sync for MultiColumnForeignKey
impl Unpin for MultiColumnForeignKey
impl UnwindSafe for MultiColumnForeignKey
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