pub struct AddColumn { /* private fields */ }
Implementations§
Source§impl AddColumn
impl AddColumn
pub fn collate(&self) -> Option<Collate>
pub fn constraints(&self) -> AstChildren<Constraint> ⓘ
pub fn if_not_exists(&self) -> Option<IfNotExists>
pub fn name_ref(&self) -> Option<NameRef>
pub fn ty(&self) -> Option<Type>
pub fn add_token(&self) -> Option<SyntaxToken>
pub fn column_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for AddColumn
impl AstNode for AddColumn
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 From<AddColumn> for AlterTableAction
impl From<AddColumn> for AlterTableAction
Source§fn from(node: AddColumn) -> AlterTableAction
fn from(node: AddColumn) -> AlterTableAction
Converts to this type from the input type.
impl Eq for AddColumn
impl StructuralPartialEq for AddColumn
Auto Trait Implementations§
impl Freeze for AddColumn
impl !RefUnwindSafe for AddColumn
impl !Send for AddColumn
impl !Sync for AddColumn
impl Unpin for AddColumn
impl !UnwindSafe for AddColumn
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