Struct sql_ddl::mysql::CreateTable
source · pub struct CreateTable<'a> {
pub table_name: &'a dyn Display,
pub columns: Vec<Column<'a>>,
pub indexes: Vec<IndexClause<'a>>,
pub primary_key: Vec<IndexColumn<'a>>,
pub default_character_set: Option<Cow<'a, str>>,
pub collate: Option<Cow<'a, str>>,
}
Fields§
§table_name: &'a dyn Display
§columns: Vec<Column<'a>>
§indexes: Vec<IndexClause<'a>>
§primary_key: Vec<IndexColumn<'a>>
§default_character_set: Option<Cow<'a, str>>
§collate: Option<Cow<'a, str>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CreateTable<'a>
impl<'a> !Send for CreateTable<'a>
impl<'a> !Sync for CreateTable<'a>
impl<'a> Unpin for CreateTable<'a>
impl<'a> !UnwindSafe for CreateTable<'a>
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