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