Enum cql3_parser::alter_type::AlterTypeOperation
source · [−]pub enum AlterTypeOperation {
AlterColumnType(AlterColumnType),
Add(Vec<ColumnDefinition>),
Rename(Vec<(Identifier, Identifier)>),
}Expand description
the alter type operations.
Variants
AlterColumnType(AlterColumnType)
Alter the column type
Add(Vec<ColumnDefinition>)
Add a columm
Rename(Vec<(Identifier, Identifier)>)
rename a column
Trait Implementations
sourceimpl Clone for AlterTypeOperation
impl Clone for AlterTypeOperation
sourcefn clone(&self) -> AlterTypeOperation
fn clone(&self) -> AlterTypeOperation
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 AlterTypeOperation
impl Debug for AlterTypeOperation
sourceimpl Display for AlterTypeOperation
impl Display for AlterTypeOperation
sourceimpl PartialEq<AlterTypeOperation> for AlterTypeOperation
impl PartialEq<AlterTypeOperation> for AlterTypeOperation
sourcefn eq(&self, other: &AlterTypeOperation) -> bool
fn eq(&self, other: &AlterTypeOperation) -> bool
impl StructuralPartialEq for AlterTypeOperation
Auto Trait Implementations
impl RefUnwindSafe for AlterTypeOperation
impl Send for AlterTypeOperation
impl Sync for AlterTypeOperation
impl Unpin for AlterTypeOperation
impl UnwindSafe for AlterTypeOperation
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