pub struct TaggedCreateTableStatement {
pub if_not_exists: bool,
pub table: TaggedKeyspaceQualifiedName,
pub columns: Vec<ColumnDefinition>,
pub primary_key: Option<PrimaryKey>,
pub options: Option<Tag<TableOpts>>,
}Fields
if_not_exists: booltable: TaggedKeyspaceQualifiedNamecolumns: Vec<ColumnDefinition>primary_key: Option<PrimaryKey>options: Option<Tag<TableOpts>>Trait Implementations
sourceimpl Clone for TaggedCreateTableStatement
impl Clone for TaggedCreateTableStatement
sourcefn clone(&self) -> TaggedCreateTableStatement
fn clone(&self) -> TaggedCreateTableStatement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> CustomToTokens<'a> for TaggedCreateTableStatement
impl<'a> CustomToTokens<'a> for TaggedCreateTableStatement
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for TaggedCreateTableStatement
impl Debug for TaggedCreateTableStatement
sourceimpl From<TaggedCreateTableStatement> for TaggedDataDefinitionStatement
impl From<TaggedCreateTableStatement> for TaggedDataDefinitionStatement
sourcefn from(original: TaggedCreateTableStatement) -> TaggedDataDefinitionStatement
fn from(original: TaggedCreateTableStatement) -> TaggedDataDefinitionStatement
Converts to this type from the input type.
sourceimpl From<TaggedCreateTableStatement> for TaggedStatement
impl From<TaggedCreateTableStatement> for TaggedStatement
sourcefn from(v: TaggedCreateTableStatement) -> Self
fn from(v: TaggedCreateTableStatement) -> Self
Converts to this type from the input type.
sourceimpl FromStr for TaggedCreateTableStatement
impl FromStr for TaggedCreateTableStatement
sourceimpl Parse for TaggedCreateTableStatement
impl Parse for TaggedCreateTableStatement
type Output = TaggedCreateTableStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<TaggedCreateTableStatement> for TaggedCreateTableStatement
impl PartialEq<TaggedCreateTableStatement> for TaggedCreateTableStatement
sourcefn eq(&self, other: &TaggedCreateTableStatement) -> bool
fn eq(&self, other: &TaggedCreateTableStatement) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TaggedCreateTableStatement) -> bool
fn ne(&self, other: &TaggedCreateTableStatement) -> bool
This method tests for !=.
sourceimpl ToTokens for TaggedCreateTableStatement
impl ToTokens for TaggedCreateTableStatement
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
impl StructuralPartialEq for TaggedCreateTableStatement
Auto Trait Implementations
impl RefUnwindSafe for TaggedCreateTableStatement
impl Send for TaggedCreateTableStatement
impl Sync for TaggedCreateTableStatement
impl Unpin for TaggedCreateTableStatement
impl UnwindSafe for TaggedCreateTableStatement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more