Enum wing_sqlparser::ast::AlterColumnOperation [−][src]
pub enum AlterColumnOperation {
SetNotNull,
DropNotNull,
SetDefault {
value: Expr,
},
DropDefault,
SetDataType {
data_type: DataType,
using: Option<Expr>,
},
}
Expand description
An ALTER COLUMN
(Statement::AlterTable
) operation
Variants
SetNotNull
SET NOT NULL
DropNotNull
DROP NOT NULL
SetDefault
Fields
value: Expr
SET DEFAULT <expr>
DropDefault
DROP DEFAULT
SetDataType
[SET DATA] TYPE <data_type> [USING <expr>]
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 AlterColumnOperation
impl Send for AlterColumnOperation
impl Sync for AlterColumnOperation
impl Unpin for AlterColumnOperation
impl UnwindSafe for AlterColumnOperation
Blanket Implementations
Mutably borrows from an owned value. Read more