pub struct PrimaryKeyConstraint { /* private fields */ }
Implementations§
Source§impl PrimaryKeyConstraint
impl PrimaryKeyConstraint
pub fn column_list(&self) -> Option<ColumnList>
pub fn index_params(&self) -> Option<IndexParams>
pub fn name_ref(&self) -> Option<NameRef>
pub fn using_index(&self) -> Option<UsingIndex>
pub fn constraint_token(&self) -> Option<SyntaxToken>
pub fn key_token(&self) -> Option<SyntaxToken>
pub fn primary_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for PrimaryKeyConstraint
impl AstNode for PrimaryKeyConstraint
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 PrimaryKeyConstraint
impl Clone for PrimaryKeyConstraint
Source§fn clone(&self) -> PrimaryKeyConstraint
fn clone(&self) -> PrimaryKeyConstraint
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 PrimaryKeyConstraint
impl Debug for PrimaryKeyConstraint
Source§impl From<PrimaryKeyConstraint> for Constraint
impl From<PrimaryKeyConstraint> for Constraint
Source§fn from(node: PrimaryKeyConstraint) -> Constraint
fn from(node: PrimaryKeyConstraint) -> Constraint
Converts to this type from the input type.
Source§impl From<PrimaryKeyConstraint> for TableConstraint
impl From<PrimaryKeyConstraint> for TableConstraint
Source§fn from(node: PrimaryKeyConstraint) -> TableConstraint
fn from(node: PrimaryKeyConstraint) -> TableConstraint
Converts to this type from the input type.
Source§impl Hash for PrimaryKeyConstraint
impl Hash for PrimaryKeyConstraint
Source§impl PartialEq for PrimaryKeyConstraint
impl PartialEq for PrimaryKeyConstraint
impl Eq for PrimaryKeyConstraint
impl StructuralPartialEq for PrimaryKeyConstraint
Auto Trait Implementations§
impl Freeze for PrimaryKeyConstraint
impl !RefUnwindSafe for PrimaryKeyConstraint
impl !Send for PrimaryKeyConstraint
impl !Sync for PrimaryKeyConstraint
impl Unpin for PrimaryKeyConstraint
impl !UnwindSafe for PrimaryKeyConstraint
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