pub struct AddForeignKey {
pub schema_name: String,
pub table_name: String,
pub foreign_key: ForeignKeySnapshot,
}Expand description
Add a foreign key to an existing table.
Fields§
§schema_name: String§table_name: String§foreign_key: ForeignKeySnapshotImplementations§
Source§impl AddForeignKey
impl AddForeignKey
Trait Implementations§
Source§impl Clone for AddForeignKey
impl Clone for AddForeignKey
Source§fn clone(&self) -> AddForeignKey
fn clone(&self) -> AddForeignKey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddForeignKey
impl Debug for AddForeignKey
Source§impl PartialEq for AddForeignKey
impl PartialEq for AddForeignKey
Source§fn eq(&self, other: &AddForeignKey) -> bool
fn eq(&self, other: &AddForeignKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AddForeignKey
impl StructuralPartialEq for AddForeignKey
Auto Trait Implementations§
impl Freeze for AddForeignKey
impl RefUnwindSafe for AddForeignKey
impl Send for AddForeignKey
impl Sync for AddForeignKey
impl Unpin for AddForeignKey
impl UnsafeUnpin for AddForeignKey
impl UnwindSafe for AddForeignKey
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