pub struct CreateTable { /* private fields */ }
Implementations§
Source§impl CreateTable
impl CreateTable
pub fn if_not_exists(&self) -> Option<IfNotExists>
pub fn inherits(&self) -> Option<Inherits>
pub fn of_type(&self) -> Option<OfType>
pub fn on_commit(&self) -> Option<OnCommit>
pub fn partition_by(&self) -> Option<PartitionBy>
pub fn partition_of(&self) -> Option<PartitionOf>
pub fn path(&self) -> Option<Path>
pub fn table_arg_list(&self) -> Option<TableArgList>
pub fn tablespace(&self) -> Option<Tablespace>
pub fn using_method(&self) -> Option<UsingMethod>
pub fn with_params(&self) -> Option<WithParams>
pub fn without_oids(&self) -> Option<WithoutOids>
pub fn create_token(&self) -> Option<SyntaxToken>
pub fn table_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for CreateTable
impl AstNode for CreateTable
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 CreateTable
impl Clone for CreateTable
Source§fn clone(&self) -> CreateTable
fn clone(&self) -> CreateTable
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 CreateTable
impl Debug for CreateTable
Source§impl From<CreateTable> for Stmt
impl From<CreateTable> for Stmt
Source§fn from(node: CreateTable) -> Stmt
fn from(node: CreateTable) -> Stmt
Converts to this type from the input type.
Source§impl Hash for CreateTable
impl Hash for CreateTable
Source§impl PartialEq for CreateTable
impl PartialEq for CreateTable
impl Eq for CreateTable
impl StructuralPartialEq for CreateTable
Auto Trait Implementations§
impl Freeze for CreateTable
impl !RefUnwindSafe for CreateTable
impl !Send for CreateTable
impl !Sync for CreateTable
impl Unpin for CreateTable
impl !UnwindSafe for CreateTable
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