pub enum AlterColumnOption {
Show 18 variants
AddGenerated(AddGenerated),
DropDefault(DropDefault),
DropExpression(DropExpression),
DropIdentity(DropIdentity),
DropNotNull(DropNotNull),
ResetOptions(ResetOptions),
Restart(Restart),
SetCompression(SetCompression),
SetDefault(SetDefault),
SetExpression(SetExpression),
SetGenerated(SetGenerated),
SetGeneratedOptions(SetGeneratedOptions),
SetNotNull(SetNotNull),
SetOptions(SetOptions),
SetSequenceOption(SetSequenceOption),
SetStatistics(SetStatistics),
SetStorage(SetStorage),
SetType(SetType),
}
Variants§
AddGenerated(AddGenerated)
DropDefault(DropDefault)
DropExpression(DropExpression)
DropIdentity(DropIdentity)
DropNotNull(DropNotNull)
ResetOptions(ResetOptions)
Restart(Restart)
SetCompression(SetCompression)
SetDefault(SetDefault)
SetExpression(SetExpression)
SetGenerated(SetGenerated)
SetGeneratedOptions(SetGeneratedOptions)
SetNotNull(SetNotNull)
SetOptions(SetOptions)
SetSequenceOption(SetSequenceOption)
SetStatistics(SetStatistics)
SetStorage(SetStorage)
SetType(SetType)
Trait Implementations§
Source§impl AstNode for AlterColumnOption
impl AstNode for AlterColumnOption
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for AlterColumnOption
impl Clone for AlterColumnOption
Source§fn clone(&self) -> AlterColumnOption
fn clone(&self) -> AlterColumnOption
Returns a duplicate of the value. Read more
1.0.0 · 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 AlterColumnOption
impl Debug for AlterColumnOption
Source§impl From<AddGenerated> for AlterColumnOption
impl From<AddGenerated> for AlterColumnOption
Source§fn from(node: AddGenerated) -> AlterColumnOption
fn from(node: AddGenerated) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<DropDefault> for AlterColumnOption
impl From<DropDefault> for AlterColumnOption
Source§fn from(node: DropDefault) -> AlterColumnOption
fn from(node: DropDefault) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<DropExpression> for AlterColumnOption
impl From<DropExpression> for AlterColumnOption
Source§fn from(node: DropExpression) -> AlterColumnOption
fn from(node: DropExpression) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<DropIdentity> for AlterColumnOption
impl From<DropIdentity> for AlterColumnOption
Source§fn from(node: DropIdentity) -> AlterColumnOption
fn from(node: DropIdentity) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<DropNotNull> for AlterColumnOption
impl From<DropNotNull> for AlterColumnOption
Source§fn from(node: DropNotNull) -> AlterColumnOption
fn from(node: DropNotNull) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<ResetOptions> for AlterColumnOption
impl From<ResetOptions> for AlterColumnOption
Source§fn from(node: ResetOptions) -> AlterColumnOption
fn from(node: ResetOptions) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<Restart> for AlterColumnOption
impl From<Restart> for AlterColumnOption
Source§fn from(node: Restart) -> AlterColumnOption
fn from(node: Restart) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<SetCompression> for AlterColumnOption
impl From<SetCompression> for AlterColumnOption
Source§fn from(node: SetCompression) -> AlterColumnOption
fn from(node: SetCompression) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<SetDefault> for AlterColumnOption
impl From<SetDefault> for AlterColumnOption
Source§fn from(node: SetDefault) -> AlterColumnOption
fn from(node: SetDefault) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<SetExpression> for AlterColumnOption
impl From<SetExpression> for AlterColumnOption
Source§fn from(node: SetExpression) -> AlterColumnOption
fn from(node: SetExpression) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<SetGenerated> for AlterColumnOption
impl From<SetGenerated> for AlterColumnOption
Source§fn from(node: SetGenerated) -> AlterColumnOption
fn from(node: SetGenerated) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<SetGeneratedOptions> for AlterColumnOption
impl From<SetGeneratedOptions> for AlterColumnOption
Source§fn from(node: SetGeneratedOptions) -> AlterColumnOption
fn from(node: SetGeneratedOptions) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<SetNotNull> for AlterColumnOption
impl From<SetNotNull> for AlterColumnOption
Source§fn from(node: SetNotNull) -> AlterColumnOption
fn from(node: SetNotNull) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<SetOptions> for AlterColumnOption
impl From<SetOptions> for AlterColumnOption
Source§fn from(node: SetOptions) -> AlterColumnOption
fn from(node: SetOptions) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<SetSequenceOption> for AlterColumnOption
impl From<SetSequenceOption> for AlterColumnOption
Source§fn from(node: SetSequenceOption) -> AlterColumnOption
fn from(node: SetSequenceOption) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<SetStatistics> for AlterColumnOption
impl From<SetStatistics> for AlterColumnOption
Source§fn from(node: SetStatistics) -> AlterColumnOption
fn from(node: SetStatistics) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<SetStorage> for AlterColumnOption
impl From<SetStorage> for AlterColumnOption
Source§fn from(node: SetStorage) -> AlterColumnOption
fn from(node: SetStorage) -> AlterColumnOption
Converts to this type from the input type.
Source§impl From<SetType> for AlterColumnOption
impl From<SetType> for AlterColumnOption
Source§fn from(node: SetType) -> AlterColumnOption
fn from(node: SetType) -> AlterColumnOption
Converts to this type from the input type.
Source§impl Hash for AlterColumnOption
impl Hash for AlterColumnOption
Source§impl PartialEq for AlterColumnOption
impl PartialEq for AlterColumnOption
impl Eq for AlterColumnOption
impl StructuralPartialEq for AlterColumnOption
Auto Trait Implementations§
impl Freeze for AlterColumnOption
impl !RefUnwindSafe for AlterColumnOption
impl !Send for AlterColumnOption
impl !Sync for AlterColumnOption
impl Unpin for AlterColumnOption
impl !UnwindSafe for AlterColumnOption
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