pub struct CqlCreateTable {
pub if_not_exists: bool,
pub table: CqlTable,
pub columns: Vec<CqlColumnDef>,
pub primary_key: CqlPrimaryKey,
pub options: CqlTableOptions,
}Expand description
CREATE TABLE statement AST
Fields§
§if_not_exists: boolIF NOT EXISTS modifier
table: CqlTableTable name
columns: Vec<CqlColumnDef>Column definitions
primary_key: CqlPrimaryKeyPrimary key definition
options: CqlTableOptionsTable options (WITH clause)
Trait Implementations§
Source§impl Clone for CqlCreateTable
impl Clone for CqlCreateTable
Source§fn clone(&self) -> CqlCreateTable
fn clone(&self) -> CqlCreateTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CqlCreateTable
impl Debug for CqlCreateTable
Source§impl<'de> Deserialize<'de> for CqlCreateTable
impl<'de> Deserialize<'de> for CqlCreateTable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CqlCreateTable
impl PartialEq for CqlCreateTable
Source§fn eq(&self, other: &CqlCreateTable) -> bool
fn eq(&self, other: &CqlCreateTable) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CqlCreateTable
impl Serialize for CqlCreateTable
impl StructuralPartialEq for CqlCreateTable
Auto Trait Implementations§
impl Freeze for CqlCreateTable
impl RefUnwindSafe for CqlCreateTable
impl Send for CqlCreateTable
impl Sync for CqlCreateTable
impl Unpin for CqlCreateTable
impl UnsafeUnpin for CqlCreateTable
impl UnwindSafe for CqlCreateTable
Blanket Implementations§
impl<T> Allocation for T
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