pub struct CreateTableStatement {
pub if_not_exists: bool,
pub temporary: bool,
pub table: TableRef,
pub columns: Vec<ColumnDef>,
pub constraints: Vec<TableConstraint>,
pub as_select: Option<Box<Statement>>,
}Expand description
A CREATE TABLE statement.
Fields§
§if_not_exists: bool§temporary: bool§table: TableRef§columns: Vec<ColumnDef>§constraints: Vec<TableConstraint>§as_select: Option<Box<Statement>>CREATE TABLE … AS SELECT …
Trait Implementations§
Source§impl Clone for CreateTableStatement
impl Clone for CreateTableStatement
Source§fn clone(&self) -> CreateTableStatement
fn clone(&self) -> CreateTableStatement
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 CreateTableStatement
impl Debug for CreateTableStatement
Source§impl<'de> Deserialize<'de> for CreateTableStatement
impl<'de> Deserialize<'de> for CreateTableStatement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateTableStatement
impl PartialEq for CreateTableStatement
Source§impl Serialize for CreateTableStatement
impl Serialize for CreateTableStatement
impl StructuralPartialEq for CreateTableStatement
Auto Trait Implementations§
impl Freeze for CreateTableStatement
impl RefUnwindSafe for CreateTableStatement
impl Send for CreateTableStatement
impl Sync for CreateTableStatement
impl Unpin for CreateTableStatement
impl UnsafeUnpin for CreateTableStatement
impl UnwindSafe for CreateTableStatement
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