pub struct ForeignKeyConstraint {
pub name: Option<String>,
pub column_indices: Vec<usize>,
pub referenced_table: String,
pub referenced_columns: Vec<String>,
pub on_delete: ForeignKeyAction,
pub on_update: ForeignKeyAction,
}Fields§
§name: Option<String>§column_indices: Vec<usize>§referenced_table: String§referenced_columns: Vec<String>§on_delete: ForeignKeyAction§on_update: ForeignKeyActionTrait Implementations§
Source§impl Clone for ForeignKeyConstraint
impl Clone for ForeignKeyConstraint
Source§fn clone(&self) -> ForeignKeyConstraint
fn clone(&self) -> ForeignKeyConstraint
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 ForeignKeyConstraint
impl Debug for ForeignKeyConstraint
Source§impl PartialEq for ForeignKeyConstraint
impl PartialEq for ForeignKeyConstraint
impl Eq for ForeignKeyConstraint
impl StructuralPartialEq for ForeignKeyConstraint
Auto Trait Implementations§
impl Freeze for ForeignKeyConstraint
impl RefUnwindSafe for ForeignKeyConstraint
impl Send for ForeignKeyConstraint
impl Sync for ForeignKeyConstraint
impl Unpin for ForeignKeyConstraint
impl UnsafeUnpin for ForeignKeyConstraint
impl UnwindSafe for ForeignKeyConstraint
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