pub struct CreateIndexStatementBuilder { /* private fields */ }Expand description
Builder for CreateIndexStatement.
Implementations
sourceimpl CreateIndexStatementBuilder
impl CreateIndexStatementBuilder
pub fn set_custom(&mut self, value: bool) -> &mut Self
pub fn set_if_not_exists(&mut self, value: bool) -> &mut Self
pub fn name<VALUE: Into<Name>>(&mut self, value: VALUE) -> &mut Self
pub fn table<VALUE: Into<KeyspaceQualifiedName>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn index_id<VALUE: Into<IndexIdentifier>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn using(&mut self, value: IndexClass) -> &mut Self
sourcepub fn build(
&self
) -> Result<CreateIndexStatement, CreateIndexStatementBuilderError>
pub fn build(
&self
) -> Result<CreateIndexStatement, CreateIndexStatementBuilderError>
Trait Implementations
sourceimpl Clone for CreateIndexStatementBuilder
impl Clone for CreateIndexStatementBuilder
sourcefn clone(&self) -> CreateIndexStatementBuilder
fn clone(&self) -> CreateIndexStatementBuilder
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
Auto Trait Implementations
impl RefUnwindSafe for CreateIndexStatementBuilder
impl Send for CreateIndexStatementBuilder
impl Sync for CreateIndexStatementBuilder
impl Unpin for CreateIndexStatementBuilder
impl UnwindSafe for CreateIndexStatementBuilder
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