Struct sql_ddl::mysql::ForeignKey  
source · pub struct ForeignKey<'a> {
    pub constraint_name: Option<Cow<'a, str>>,
    pub constrained_columns: Vec<Cow<'a, str>>,
    pub referenced_table: Cow<'a, str>,
    pub referenced_columns: Vec<Cow<'a, str>>,
    pub on_delete: Option<ForeignKeyAction>,
    pub on_update: Option<ForeignKeyAction>,
}Fields§
§constraint_name: Option<Cow<'a, str>>§constrained_columns: Vec<Cow<'a, str>>§referenced_table: Cow<'a, str>§referenced_columns: Vec<Cow<'a, str>>§on_delete: Option<ForeignKeyAction>§on_update: Option<ForeignKeyAction>Trait Implementations§
source§impl<'a> Debug for ForeignKey<'a>
 
impl<'a> Debug for ForeignKey<'a>
source§impl<'a> Default for ForeignKey<'a>
 
impl<'a> Default for ForeignKey<'a>
source§fn default() -> ForeignKey<'a>
 
fn default() -> ForeignKey<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ForeignKey<'a>
impl<'a> Send for ForeignKey<'a>
impl<'a> Sync for ForeignKey<'a>
impl<'a> Unpin for ForeignKey<'a>
impl<'a> UnwindSafe for ForeignKey<'a>
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