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: bool
§table: TaggedKeyspaceQualifiedName
§columns: Vec<ColumnDefinition>
§primary_key: Option<PrimaryKey>
§options: Option<Tag<TableOpts>>
Trait Implementations§
Source§impl Clone for TaggedCreateTableStatement
impl Clone for TaggedCreateTableStatement
Source§fn clone(&self) -> TaggedCreateTableStatement
fn clone(&self) -> TaggedCreateTableStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for TaggedCreateTableStatement
impl<'a> CustomToTokens<'a> for TaggedCreateTableStatement
Source§impl Debug for TaggedCreateTableStatement
impl Debug for TaggedCreateTableStatement
Source§impl From<TaggedCreateTableStatement> for TaggedDataDefinitionStatement
impl From<TaggedCreateTableStatement> for TaggedDataDefinitionStatement
Source§fn from(original: TaggedCreateTableStatement) -> TaggedDataDefinitionStatement
fn from(original: TaggedCreateTableStatement) -> TaggedDataDefinitionStatement
Converts to this type from the input type.
Source§impl From<TaggedCreateTableStatement> for TaggedStatement
impl From<TaggedCreateTableStatement> for TaggedStatement
Source§fn from(v: TaggedCreateTableStatement) -> Self
fn from(v: TaggedCreateTableStatement) -> Self
Converts to this type from the input type.
Source§impl FromStr for TaggedCreateTableStatement
impl FromStr for TaggedCreateTableStatement
Source§impl Parse for TaggedCreateTableStatement
impl Parse for TaggedCreateTableStatement
type Output = TaggedCreateTableStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for TaggedCreateTableStatement
impl PartialEq for TaggedCreateTableStatement
Source§fn eq(&self, other: &TaggedCreateTableStatement) -> bool
fn eq(&self, other: &TaggedCreateTableStatement) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ToTokens for TaggedCreateTableStatement
impl ToTokens for TaggedCreateTableStatement
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl StructuralPartialEq for TaggedCreateTableStatement
Auto Trait Implementations§
impl Freeze for TaggedCreateTableStatement
impl RefUnwindSafe for TaggedCreateTableStatement
impl Send for TaggedCreateTableStatement
impl Sync for TaggedCreateTableStatement
impl Unpin for TaggedCreateTableStatement
impl UnwindSafe for TaggedCreateTableStatement
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