Enum sql_ast::ast::AlterTableOperation [−][src]
pub enum AlterTableOperation { AddColumn(ColumnDef), AddConstraint(TableConstraint), DropColumn { column: Ident, if_exists: bool, cascade: bool, }, DropConstraint { name: Ident, }, }
Expand description
An ALTER TABLE
(Statement::AlterTable
) operation
Variants
AddColumn(ColumnDef)
AddConstraint(TableConstraint)
ADD <table_constraint>
TODO: implement DROP CONSTRAINT <name>
Show fields
Fields of DropConstraint
name: Ident
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more