Enum sqlmo::query::AlterAction
source · pub enum AlterAction {
AddColumn {
column: Column,
},
AlterColumn {
name: String,
action: AlterColumnAction,
},
}
Expand description
Alter table action
Variants§
Implementations§
Trait Implementations§
source§impl Clone for AlterAction
impl Clone for AlterAction
source§fn clone(&self) -> AlterAction
fn clone(&self) -> AlterAction
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 moresource§impl Debug for AlterAction
impl Debug for AlterAction
Auto Trait Implementations§
impl RefUnwindSafe for AlterAction
impl Send for AlterAction
impl Sync for AlterAction
impl Unpin for AlterAction
impl UnwindSafe for AlterAction
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