Struct cql3_parser::create_index::CreateIndex
source · [−]pub struct CreateIndex {
pub if_not_exists: bool,
pub name: Option<Identifier>,
pub table: FQName,
pub column: IndexColumnType,
}Expand description
data to for the create index statement.
Fields
if_not_exists: boolonly if not exists.
name: Option<Identifier>optional name of the index.
table: FQNamethe table the index is on.
column: IndexColumnTypethe index column type.
Trait Implementations
sourceimpl Clone for CreateIndex
impl Clone for CreateIndex
sourcefn clone(&self) -> CreateIndex
fn clone(&self) -> CreateIndex
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 moresourceimpl Debug for CreateIndex
impl Debug for CreateIndex
sourceimpl Display for CreateIndex
impl Display for CreateIndex
sourceimpl PartialEq<CreateIndex> for CreateIndex
impl PartialEq<CreateIndex> for CreateIndex
sourcefn eq(&self, other: &CreateIndex) -> bool
fn eq(&self, other: &CreateIndex) -> bool
impl StructuralPartialEq for CreateIndex
Auto Trait Implementations
impl RefUnwindSafe for CreateIndex
impl Send for CreateIndex
impl Sync for CreateIndex
impl Unpin for CreateIndex
impl UnwindSafe for CreateIndex
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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