pub enum CreateTableBody {
Columns {
columns: Vec<ColumnDef>,
constraints: Vec<(Option<NameId>, TableConstraint)>,
without_rowid: bool,
strict: bool,
},
AsSelect(SelectId),
}Expand description
The body of a CREATE TABLE.
Variants§
Columns
A column list.
Fields
§
constraints: Vec<(Option<NameId>, TableConstraint)>The table constraints, in written order, each with its name.
AsSelect(SelectId)
CREATE TABLE ... AS SELECT ....
Trait Implementations§
Source§impl Clone for CreateTableBody
impl Clone for CreateTableBody
Source§impl Debug for CreateTableBody
impl Debug for CreateTableBody
impl Eq for CreateTableBody
Source§impl PartialEq for CreateTableBody
impl PartialEq for CreateTableBody
impl StructuralPartialEq for CreateTableBody
Auto Trait Implementations§
impl Freeze for CreateTableBody
impl RefUnwindSafe for CreateTableBody
impl Send for CreateTableBody
impl Sync for CreateTableBody
impl Unpin for CreateTableBody
impl UnsafeUnpin for CreateTableBody
impl UnwindSafe for CreateTableBody
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