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