pub struct NotNullConstraint { /* private fields */ }
Implementations§
Source§impl NotNullConstraint
impl NotNullConstraint
pub fn name_ref(&self) -> Option<NameRef>
pub fn no_inherit(&self) -> Option<NoInherit>
pub fn constraint_token(&self) -> Option<SyntaxToken>
pub fn not_token(&self) -> Option<SyntaxToken>
pub fn null_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for NotNullConstraint
impl AstNode for NotNullConstraint
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 NotNullConstraint
impl Clone for NotNullConstraint
Source§fn clone(&self) -> NotNullConstraint
fn clone(&self) -> NotNullConstraint
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 NotNullConstraint
impl Debug for NotNullConstraint
Source§impl From<NotNullConstraint> for ColumnConstraint
impl From<NotNullConstraint> for ColumnConstraint
Source§fn from(node: NotNullConstraint) -> ColumnConstraint
fn from(node: NotNullConstraint) -> ColumnConstraint
Converts to this type from the input type.
Source§impl From<NotNullConstraint> for Constraint
impl From<NotNullConstraint> for Constraint
Source§fn from(node: NotNullConstraint) -> Constraint
fn from(node: NotNullConstraint) -> Constraint
Converts to this type from the input type.
Source§impl Hash for NotNullConstraint
impl Hash for NotNullConstraint
Source§impl PartialEq for NotNullConstraint
impl PartialEq for NotNullConstraint
impl Eq for NotNullConstraint
impl StructuralPartialEq for NotNullConstraint
Auto Trait Implementations§
impl Freeze for NotNullConstraint
impl !RefUnwindSafe for NotNullConstraint
impl !Send for NotNullConstraint
impl !Sync for NotNullConstraint
impl Unpin for NotNullConstraint
impl !UnwindSafe for NotNullConstraint
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