Struct sqlmo::CreateTable
source · pub struct CreateTable {
pub schema: Option<String>,
pub name: String,
pub columns: Vec<Column>,
}Expand description
Create table action
Fields§
§schema: Option<String>§name: String§columns: Vec<Column>Implementations§
source§impl CreateTable
impl CreateTable
pub fn from_table(table: &Table) -> CreateTable
Trait Implementations§
source§impl Debug for CreateTable
impl Debug for CreateTable
Auto Trait Implementations§
impl RefUnwindSafe for CreateTable
impl Send for CreateTable
impl Sync for CreateTable
impl Unpin for CreateTable
impl UnwindSafe for CreateTable
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