Enum barrel::ForeignKeyChange
source · pub enum ForeignKeyChange {
AddForeignKey {
columns: Vec<String>,
table: String,
relation_columns: Vec<String>,
},
}
Expand description
An enum set that represents operations done with and on foreign keys
Variants§
AddForeignKey
Add a foreign key
Trait Implementations§
source§impl Clone for ForeignKeyChange
impl Clone for ForeignKeyChange
source§fn clone(&self) -> ForeignKeyChange
fn clone(&self) -> ForeignKeyChange
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for ForeignKeyChange
impl Send for ForeignKeyChange
impl Sync for ForeignKeyChange
impl Unpin for ForeignKeyChange
impl UnwindSafe for ForeignKeyChange
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