pub struct CreateKeyspaceStatementBuilder { /* private fields */ }Expand description
Builder for CreateKeyspaceStatement.
Implementations
sourceimpl CreateKeyspaceStatementBuilder
 
impl CreateKeyspaceStatementBuilder
pub fn set_if_not_exists(&mut self, value: bool) -> &mut Self
pub fn keyspace<VALUE: Into<Name>>(&mut self, value: VALUE) -> &mut Self
pub fn options(&mut self, value: KeyspaceOpts) -> &mut Self
sourcepub fn build(
    &self
) -> Result<CreateKeyspaceStatement, CreateKeyspaceStatementBuilderError>
 
pub fn build(
    &self
) -> Result<CreateKeyspaceStatement, CreateKeyspaceStatementBuilderError>
sourceimpl CreateKeyspaceStatementBuilder
 
impl CreateKeyspaceStatementBuilder
sourcepub fn if_not_exists(&mut self) -> &mut Self
 
pub fn if_not_exists(&mut self) -> &mut Self
Set IF NOT EXISTS on the statement.
To undo this, use set_if_not_exists(false).
Trait Implementations
sourceimpl Clone for CreateKeyspaceStatementBuilder
 
impl Clone for CreateKeyspaceStatementBuilder
sourcefn clone(&self) -> CreateKeyspaceStatementBuilder
 
fn clone(&self) -> CreateKeyspaceStatementBuilder
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 CreateKeyspaceStatementBuilder
impl Send for CreateKeyspaceStatementBuilder
impl Sync for CreateKeyspaceStatementBuilder
impl Unpin for CreateKeyspaceStatementBuilder
impl UnwindSafe for CreateKeyspaceStatementBuilder
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