pub struct ReferencesConstraint { /* private fields */ }
Implementations§
Source§impl ReferencesConstraint
impl ReferencesConstraint
pub fn match_type(&self) -> Option<MatchType>
pub fn name_ref(&self) -> Option<NameRef>
pub fn on_delete_action(&self) -> Option<OnDeleteAction>
pub fn on_update_action(&self) -> Option<OnUpdateAction>
pub fn path(&self) -> Option<Path>
pub fn l_paren_token(&self) -> Option<SyntaxToken>
pub fn r_paren_token(&self) -> Option<SyntaxToken>
pub fn constraint_token(&self) -> Option<SyntaxToken>
pub fn references_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for ReferencesConstraint
impl AstNode for ReferencesConstraint
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 ReferencesConstraint
impl Clone for ReferencesConstraint
Source§fn clone(&self) -> ReferencesConstraint
fn clone(&self) -> ReferencesConstraint
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 ReferencesConstraint
impl Debug for ReferencesConstraint
Source§impl From<ReferencesConstraint> for ColumnConstraint
impl From<ReferencesConstraint> for ColumnConstraint
Source§fn from(node: ReferencesConstraint) -> ColumnConstraint
fn from(node: ReferencesConstraint) -> ColumnConstraint
Converts to this type from the input type.
Source§impl From<ReferencesConstraint> for Constraint
impl From<ReferencesConstraint> for Constraint
Source§fn from(node: ReferencesConstraint) -> Constraint
fn from(node: ReferencesConstraint) -> Constraint
Converts to this type from the input type.
Source§impl Hash for ReferencesConstraint
impl Hash for ReferencesConstraint
Source§impl PartialEq for ReferencesConstraint
impl PartialEq for ReferencesConstraint
impl Eq for ReferencesConstraint
impl StructuralPartialEq for ReferencesConstraint
Auto Trait Implementations§
impl Freeze for ReferencesConstraint
impl !RefUnwindSafe for ReferencesConstraint
impl !Send for ReferencesConstraint
impl !Sync for ReferencesConstraint
impl Unpin for ReferencesConstraint
impl !UnwindSafe for ReferencesConstraint
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