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 Clone for CreateTable
impl Clone for CreateTable
source§fn clone(&self) -> CreateTable
fn clone(&self) -> CreateTable
Returns a copy 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 CreateTable
impl Debug for CreateTable
source§impl PartialEq for CreateTable
impl PartialEq for CreateTable
source§impl ToSql for CreateTable
impl ToSql for CreateTable
impl Eq for CreateTable
impl StructuralPartialEq for CreateTable
Auto Trait Implementations§
impl Freeze for CreateTable
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)