pub struct CreateTable {
pub if_not_exists: bool,
pub name: String,
pub columns: Vec<ColumnDef>,
pub constraints: Vec<TableConstraint>,
pub with_options: Vec<(String, String)>,
pub span: Span,
}Fields§
§if_not_exists: bool§name: String§columns: Vec<ColumnDef>§constraints: Vec<TableConstraint>§with_options: Vec<(String, String)>Raw WITH オプション (key, value) の組。
span: SpanTrait Implementations§
Source§impl Clone for CreateTable
impl Clone for CreateTable
Source§fn clone(&self) -> CreateTable
fn clone(&self) -> CreateTable
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 CreateTable
impl Debug 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