pub struct CreateTableStatement {
pub name: String,
pub columns: Vec<ColumnDefinition>,
pub constraints: Vec<TableConstraint>,
pub if_not_exists: bool,
}Expand description
CREATE TABLE statement.
Fields§
§name: String§columns: Vec<ColumnDefinition>§constraints: Vec<TableConstraint>§if_not_exists: boolTrait 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 PartialEq for CreateTableStatement
impl PartialEq 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