Struct sql_ddl::sqlite::CreateTable
source · pub struct CreateTable<'a> {
pub table_name: &'a dyn Display,
pub columns: Vec<Column<'a>>,
pub primary_key: Option<Vec<Cow<'a, str>>>,
pub foreign_keys: Vec<ForeignKey<'a>>,
}
Fields§
§table_name: &'a dyn Display
§columns: Vec<Column<'a>>
§primary_key: Option<Vec<Cow<'a, str>>>
§foreign_keys: Vec<ForeignKey<'a>>
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