pub struct Insert { /* private fields */ }Implementations§
Source§impl Insert
impl Insert
pub fn alias(&self) -> Option<Alias>
pub fn column_list(&self) -> Option<ColumnList>
pub fn on_conflict_clause(&self) -> Option<OnConflictClause>
pub fn path(&self) -> Option<Path>
pub fn returning_clause(&self) -> Option<ReturningClause>
pub fn stmt(&self) -> Option<Stmt>
pub fn values(&self) -> Option<Values>
pub fn with_clause(&self) -> Option<WithClause>
pub fn default_token(&self) -> Option<SyntaxToken>
pub fn insert_token(&self) -> Option<SyntaxToken>
pub fn into_token(&self) -> Option<SyntaxToken>
pub fn overriding_token(&self) -> Option<SyntaxToken>
pub fn system_token(&self) -> Option<SyntaxToken>
pub fn user_token(&self) -> Option<SyntaxToken>
pub fn value_token(&self) -> Option<SyntaxToken>
pub fn values_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for Insert
impl AstNode for Insert
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 From<Insert> for ExplainStmt
impl From<Insert> for ExplainStmt
Source§fn from(node: Insert) -> ExplainStmt
fn from(node: Insert) -> ExplainStmt
Converts to this type from the input type.
Source§impl From<Insert> for PreparableStmt
impl From<Insert> for PreparableStmt
Source§fn from(node: Insert) -> PreparableStmt
fn from(node: Insert) -> PreparableStmt
Converts to this type from the input type.
Source§impl HasWithClause for Insert
impl HasWithClause for Insert
fn with_clause(&self) -> Option<WithClause>
impl Eq for Insert
impl StructuralPartialEq for Insert
Auto Trait Implementations§
impl Freeze for Insert
impl !RefUnwindSafe for Insert
impl !Send for Insert
impl !Sync for Insert
impl Unpin for Insert
impl !UnwindSafe for Insert
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