pub struct ForeignKey {
pub table: String,
pub column: String,
pub on_delete: ReferentialAction,
pub on_update: ReferentialAction,
}Fields§
§table: String§column: String§on_delete: ReferentialAction§on_update: ReferentialActionTrait Implementations§
Source§impl Clone for ForeignKey
impl Clone for ForeignKey
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