pub enum AlterTableOperation {
Add(Vec<ColumnDefinition>),
DropColumns(Vec<Identifier>),
DropCompactStorage,
Rename((Identifier, Identifier)),
With(Vec<WithItem>),
}Expand description
table alteration operations
Variants
Add(Vec<ColumnDefinition>)
add columns to the table.
DropColumns(Vec<Identifier>)
drop columns from the table.
DropCompactStorage
drop the “compact storage”
Rename((Identifier, Identifier))
rename columns (from, to)
With(Vec<WithItem>)
add with element options.
Trait Implementations
sourceimpl Clone for AlterTableOperation
impl Clone for AlterTableOperation
sourcefn clone(&self) -> AlterTableOperation
fn clone(&self) -> AlterTableOperation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AlterTableOperation
impl Debug for AlterTableOperation
sourceimpl Display for AlterTableOperation
impl Display for AlterTableOperation
sourceimpl PartialEq<AlterTableOperation> for AlterTableOperation
impl PartialEq<AlterTableOperation> for AlterTableOperation
sourcefn eq(&self, other: &AlterTableOperation) -> bool
fn eq(&self, other: &AlterTableOperation) -> bool
impl StructuralPartialEq for AlterTableOperation
Auto Trait Implementations
impl RefUnwindSafe for AlterTableOperation
impl Send for AlterTableOperation
impl Sync for AlterTableOperation
impl Unpin for AlterTableOperation
impl UnwindSafe for AlterTableOperation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more