pub enum AlterTableInstruction {
    Add(Vec<ColumnDefinition>),
    Drop(Vec<Name>),
    Alter(Name, CqlType),
    With(TableOpts),
}Variants
Add(Vec<ColumnDefinition>)
Drop(Vec<Name>)
Alter(Name, CqlType)
With(TableOpts)
Implementations
Trait Implementations
sourceimpl Clone for AlterTableInstruction
 
impl Clone for AlterTableInstruction
sourcefn clone(&self) -> AlterTableInstruction
 
fn clone(&self) -> AlterTableInstruction
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 more
sourceimpl<'a> CustomToTokens<'a> for AlterTableInstruction
 
impl<'a> CustomToTokens<'a> for AlterTableInstruction
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for AlterTableInstruction
 
impl Debug for AlterTableInstruction
sourceimpl Display for AlterTableInstruction
 
impl Display for AlterTableInstruction
sourceimpl FromStr for AlterTableInstruction
 
impl FromStr for AlterTableInstruction
sourceimpl Parse for AlterTableInstruction
 
impl Parse for AlterTableInstruction
type Output = AlterTableInstruction
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<AlterTableInstruction> for AlterTableInstruction
 
impl PartialEq<AlterTableInstruction> for AlterTableInstruction
sourcefn eq(&self, other: &AlterTableInstruction) -> bool
 
fn eq(&self, other: &AlterTableInstruction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AlterTableInstruction) -> bool
 
fn ne(&self, other: &AlterTableInstruction) -> bool
This method tests for !=.
sourceimpl ToTokens for AlterTableInstruction
 
impl ToTokens for AlterTableInstruction
sourcefn to_tokens(&self, tokens: &mut TokenStream)
 
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
 
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
 
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
impl StructuralPartialEq for AlterTableInstruction
Auto Trait Implementations
impl RefUnwindSafe for AlterTableInstruction
impl Send for AlterTableInstruction
impl Sync for AlterTableInstruction
impl Unpin for AlterTableInstruction
impl UnwindSafe for AlterTableInstruction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    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