pub struct CreateMaterializedViewStatementBuilder { /* private fields */ }Expand description
Builder for CreateMaterializedViewStatement.
Implementations
sourceimpl CreateMaterializedViewStatementBuilder
 
impl CreateMaterializedViewStatementBuilder
pub fn set_if_not_exists(&mut self, value: bool) -> &mut Self
pub fn name<VALUE: Into<KeyspaceQualifiedName>>(
    &mut self, 
    value: VALUE
) -> &mut Self
pub fn select_statement(&mut self, value: SelectStatement) -> &mut Self
pub fn primary_key<VALUE: Into<PrimaryKey>>(
    &mut self, 
    value: VALUE
) -> &mut Self
pub fn table_opts(&mut self, value: TableOpts) -> &mut Self
sourcepub fn build(
    &self
) -> Result<CreateMaterializedViewStatement, CreateMaterializedViewStatementBuilderError>
 
pub fn build(
    &self
) -> Result<CreateMaterializedViewStatement, CreateMaterializedViewStatementBuilderError>
sourceimpl CreateMaterializedViewStatementBuilder
 
impl CreateMaterializedViewStatementBuilder
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 CreateMaterializedViewStatementBuilder
 
impl Clone for CreateMaterializedViewStatementBuilder
sourcefn clone(&self) -> CreateMaterializedViewStatementBuilder
 
fn clone(&self) -> CreateMaterializedViewStatementBuilder
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 CreateMaterializedViewStatementBuilder
impl Send for CreateMaterializedViewStatementBuilder
impl Sync for CreateMaterializedViewStatementBuilder
impl Unpin for CreateMaterializedViewStatementBuilder
impl UnwindSafe for CreateMaterializedViewStatementBuilder
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