pub struct DropConstraint { /* private fields */ }
Implementations§
Source§impl DropConstraint
impl DropConstraint
pub fn if_exists(&self) -> Option<IfExists>
pub fn name_ref(&self) -> Option<NameRef>
pub fn cascade_token(&self) -> Option<SyntaxToken>
pub fn constraint_token(&self) -> Option<SyntaxToken>
pub fn drop_token(&self) -> Option<SyntaxToken>
pub fn restrict_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for DropConstraint
impl AstNode for DropConstraint
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 DropConstraint
impl Clone for DropConstraint
Source§fn clone(&self) -> DropConstraint
fn clone(&self) -> DropConstraint
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 DropConstraint
impl Debug for DropConstraint
Source§impl From<DropConstraint> for AlterDomainAction
impl From<DropConstraint> for AlterDomainAction
Source§fn from(node: DropConstraint) -> AlterDomainAction
fn from(node: DropConstraint) -> AlterDomainAction
Converts to this type from the input type.
Source§impl From<DropConstraint> for AlterTableAction
impl From<DropConstraint> for AlterTableAction
Source§fn from(node: DropConstraint) -> AlterTableAction
fn from(node: DropConstraint) -> AlterTableAction
Converts to this type from the input type.
Source§impl Hash for DropConstraint
impl Hash for DropConstraint
Source§impl PartialEq for DropConstraint
impl PartialEq for DropConstraint
impl Eq for DropConstraint
impl StructuralPartialEq for DropConstraint
Auto Trait Implementations§
impl Freeze for DropConstraint
impl !RefUnwindSafe for DropConstraint
impl !Send for DropConstraint
impl !Sync for DropConstraint
impl Unpin for DropConstraint
impl !UnwindSafe for DropConstraint
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