pub struct ForeignKey {
pub from_col: String,
pub to_col: String,
pub to_table: String,
pub on_delete: Option<String>,
pub on_update: Option<String>,
}Fields§
§from_col: String§to_col: String§to_table: String§on_delete: Option<String>§on_update: Option<String>Auto Trait Implementations§
impl Freeze for ForeignKey
impl RefUnwindSafe for ForeignKey
impl Send for ForeignKey
impl Sync for ForeignKey
impl Unpin for ForeignKey
impl UnsafeUnpin for ForeignKey
impl UnwindSafe for ForeignKey
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