pub enum SQLAlterOperation {
AddColumn(SQLColumnDef),
DropColumn(String),
RenameColumn(String, String),
AlterColumnType(String, String),
AddConstraint(SQLTableConstraint),
DropConstraint(String),
RenameTable(String),
}Variants§
AddColumn(SQLColumnDef)
DropColumn(String)
RenameColumn(String, String)
AlterColumnType(String, String)
AddConstraint(SQLTableConstraint)
DropConstraint(String)
RenameTable(String)
Trait Implementations§
Source§impl Clone for SQLAlterOperation
impl Clone for SQLAlterOperation
Source§fn clone(&self) -> SQLAlterOperation
fn clone(&self) -> SQLAlterOperation
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 SQLAlterOperation
impl RefUnwindSafe for SQLAlterOperation
impl Send for SQLAlterOperation
impl Sync for SQLAlterOperation
impl Unpin for SQLAlterOperation
impl UnsafeUnpin for SQLAlterOperation
impl UnwindSafe for SQLAlterOperation
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