pub enum AlterTableOp {
AddColumn {
column: Box<ColumnSpec>,
foreign_key: Option<ForeignKeyDef>,
if_not_exists: bool,
},
DropColumn {
name: String,
if_exists: bool,
},
RenameColumn {
old_name: String,
new_name: String,
},
RenameTable {
new_name: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for AlterTableOp
impl Clone for AlterTableOp
Source§fn clone(&self) -> AlterTableOp
fn clone(&self) -> AlterTableOp
Returns a duplicate 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 Freeze for AlterTableOp
impl RefUnwindSafe for AlterTableOp
impl Send for AlterTableOp
impl Sync for AlterTableOp
impl Unpin for AlterTableOp
impl UnsafeUnpin for AlterTableOp
impl UnwindSafe for AlterTableOp
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