Enum sqlite3_parser::ast::CreateTableBody
source · [−]pub enum CreateTableBody {
ColumnsAndConstraints {
columns: Vec<ColumnDefinition>,
constraints: Option<Vec<NamedTableConstraint>>,
options: TableOptions,
},
AsSelect(Select),
}
Variants
ColumnsAndConstraints
Fields
columns: Vec<ColumnDefinition>
constraints: Option<Vec<NamedTableConstraint>>
options: TableOptions
AsSelect(Select)
Trait Implementations
sourceimpl Clone for CreateTableBody
impl Clone for CreateTableBody
sourcefn clone(&self) -> CreateTableBody
fn clone(&self) -> CreateTableBody
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateTableBody
impl Debug for CreateTableBody
sourceimpl PartialEq<CreateTableBody> for CreateTableBody
impl PartialEq<CreateTableBody> for CreateTableBody
sourcefn eq(&self, other: &CreateTableBody) -> bool
fn eq(&self, other: &CreateTableBody) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateTableBody) -> bool
fn ne(&self, other: &CreateTableBody) -> bool
This method tests for !=
.
sourceimpl ToTokens for CreateTableBody
impl ToTokens for CreateTableBody
impl Eq for CreateTableBody
impl StructuralEq for CreateTableBody
impl StructuralPartialEq for CreateTableBody
Auto Trait Implementations
impl RefUnwindSafe for CreateTableBody
impl Send for CreateTableBody
impl Sync for CreateTableBody
impl Unpin for CreateTableBody
impl UnwindSafe for CreateTableBody
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more