pub struct AlterTableStatement {
pub token: Token,
pub table_name: Identifier,
pub operation: AlterTableOperation,
pub column_def: Option<ColumnDefinition>,
pub table_constraint: Option<TableConstraint>,
pub column_name: Option<Identifier>,
pub constraint_name: Option<Identifier>,
pub if_exists: bool,
pub new_column_name: Option<Identifier>,
pub new_table_name: Option<Identifier>,
}Expand description
ALTER TABLE statement
Fields§
§token: Token§table_name: Identifier§operation: AlterTableOperation§column_def: Option<ColumnDefinition>§table_constraint: Option<TableConstraint>§column_name: Option<Identifier>§constraint_name: Option<Identifier>§if_exists: bool§new_column_name: Option<Identifier>§new_table_name: Option<Identifier>Trait Implementations§
Source§impl Clone for AlterTableStatement
impl Clone for AlterTableStatement
Source§fn clone(&self) -> AlterTableStatement
fn clone(&self) -> AlterTableStatement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlterTableStatement
impl Debug for AlterTableStatement
Source§impl Display for AlterTableStatement
impl Display for AlterTableStatement
Source§impl PartialEq for AlterTableStatement
impl PartialEq for AlterTableStatement
impl StructuralPartialEq for AlterTableStatement
Auto Trait Implementations§
impl Freeze for AlterTableStatement
impl RefUnwindSafe for AlterTableStatement
impl Send for AlterTableStatement
impl Sync for AlterTableStatement
impl Unpin for AlterTableStatement
impl UnsafeUnpin for AlterTableStatement
impl UnwindSafe for AlterTableStatement
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