pub struct CreateIndexStatement {
pub custom: bool,
pub if_not_exists: bool,
pub name: Option<Name>,
pub table: KeyspaceQualifiedName,
pub index_id: IndexIdentifier,
pub using: Option<IndexClass>,
}
Fields§
§custom: bool
§if_not_exists: bool
§name: Option<Name>
§table: KeyspaceQualifiedName
§index_id: IndexIdentifier
§using: Option<IndexClass>
Trait Implementations§
Source§impl Clone for CreateIndexStatement
impl Clone for CreateIndexStatement
Source§fn clone(&self) -> CreateIndexStatement
fn clone(&self) -> CreateIndexStatement
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<'a> CustomToTokens<'a> for CreateIndexStatement
impl<'a> CustomToTokens<'a> for CreateIndexStatement
Source§impl Debug for CreateIndexStatement
impl Debug for CreateIndexStatement
Source§impl Display for CreateIndexStatement
impl Display for CreateIndexStatement
Source§impl From<CreateIndexStatement> for SecondaryIndexStatement
impl From<CreateIndexStatement> for SecondaryIndexStatement
Source§fn from(original: CreateIndexStatement) -> SecondaryIndexStatement
fn from(original: CreateIndexStatement) -> SecondaryIndexStatement
Converts to this type from the input type.
Source§impl From<CreateIndexStatement> for Statement
impl From<CreateIndexStatement> for Statement
Source§fn from(v: CreateIndexStatement) -> Self
fn from(v: CreateIndexStatement) -> Self
Converts to this type from the input type.
Source§impl FromStr for CreateIndexStatement
impl FromStr for CreateIndexStatement
Source§impl Parse for CreateIndexStatement
impl Parse for CreateIndexStatement
type Output = CreateIndexStatement
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for CreateIndexStatement
impl PartialEq for CreateIndexStatement
Source§impl ToTokens for CreateIndexStatement
impl ToTokens for CreateIndexStatement
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,
Source§impl TryInto<CreateIndexStatement> for Statement
impl TryInto<CreateIndexStatement> for Statement
impl Eq for CreateIndexStatement
impl StructuralPartialEq for CreateIndexStatement
Auto Trait Implementations§
impl Freeze for CreateIndexStatement
impl RefUnwindSafe for CreateIndexStatement
impl Send for CreateIndexStatement
impl Sync for CreateIndexStatement
impl Unpin for CreateIndexStatement
impl UnwindSafe for CreateIndexStatement
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