pub enum AlterTableInstruction {
Add(Vec<ColumnDefinition>),
Drop(Vec<Name>),
Alter(Name, CqlType),
With(TableOpts),
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AlterTableInstruction
impl Clone for AlterTableInstruction
Source§fn clone(&self) -> AlterTableInstruction
fn clone(&self) -> AlterTableInstruction
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for AlterTableInstruction
impl<'a> CustomToTokens<'a> for AlterTableInstruction
Source§impl Debug for AlterTableInstruction
impl Debug for AlterTableInstruction
Source§impl Display for AlterTableInstruction
impl Display for AlterTableInstruction
Source§impl FromStr for AlterTableInstruction
impl FromStr for AlterTableInstruction
Source§impl Parse for AlterTableInstruction
impl Parse for AlterTableInstruction
type Output = AlterTableInstruction
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for AlterTableInstruction
impl PartialEq for AlterTableInstruction
Source§impl ToTokens for AlterTableInstruction
impl ToTokens for AlterTableInstruction
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl StructuralPartialEq for AlterTableInstruction
Auto Trait Implementations§
impl Freeze for AlterTableInstruction
impl RefUnwindSafe for AlterTableInstruction
impl Send for AlterTableInstruction
impl Sync for AlterTableInstruction
impl Unpin for AlterTableInstruction
impl UnwindSafe for AlterTableInstruction
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