pub struct CreateTableStmt<'a> { /* private fields */ }Implementations§
Source§impl<'a> CreateTableStmt<'a>
impl<'a> CreateTableStmt<'a>
Sourcepub fn node_id(&self) -> CreateTableStmtId
pub fn node_id(&self) -> CreateTableStmtId
The typed node ID of this node.
pub fn table_name(&self) -> &'a str
pub fn schema(&self) -> &'a str
pub fn is_temp(&self) -> bool
pub fn if_not_exists(&self) -> bool
pub fn flags(&self) -> CreateTableStmtFlags
pub fn columns(&self) -> Option<ColumnDefList<'a>>
pub fn table_constraints(&self) -> Option<TableConstraintList<'a>>
pub fn as_select(&self) -> Option<Select<'a>>
Trait Implementations§
Source§impl<'a> Clone for CreateTableStmt<'a>
impl<'a> Clone for CreateTableStmt<'a>
Source§fn clone(&self) -> CreateTableStmt<'a>
fn clone(&self) -> CreateTableStmt<'a>
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 CreateTableStmt<'_>
impl Debug for CreateTableStmt<'_>
Source§impl Display for CreateTableStmt<'_>
impl Display for CreateTableStmt<'_>
Source§impl<'a> From<CreateTableStmt<'a>> for CreateTableStmtId
impl<'a> From<CreateTableStmt<'a>> for CreateTableStmtId
Source§fn from(n: CreateTableStmt<'a>) -> Self
fn from(n: CreateTableStmt<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> GrammarNodeType<'a> for CreateTableStmt<'a>
impl<'a> GrammarNodeType<'a> for CreateTableStmt<'a>
Source§fn from_result(
stmt_result: &'a AnyParsedStatement<'a>,
id: AnyNodeId,
) -> Option<Self>
fn from_result( stmt_result: &'a AnyParsedStatement<'a>, id: AnyNodeId, ) -> Option<Self>
Resolve
id to Self, or None if null, invalid, or tag mismatch.impl<'a> Copy for CreateTableStmt<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateTableStmt<'a>
impl<'a> !RefUnwindSafe for CreateTableStmt<'a>
impl<'a> !Send for CreateTableStmt<'a>
impl<'a> !Sync for CreateTableStmt<'a>
impl<'a> Unpin for CreateTableStmt<'a>
impl<'a> UnsafeUnpin for CreateTableStmt<'a>
impl<'a> !UnwindSafe for CreateTableStmt<'a>
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