pub struct TaggedCreateTableStatementBuilder { /* private fields */ }Expand description
Builder for TaggedCreateTableStatement.
Implementations
sourceimpl TaggedCreateTableStatementBuilder
impl TaggedCreateTableStatementBuilder
pub fn set_if_not_exists(&mut self, value: bool) -> &mut Self
pub fn table(&mut self, value: TaggedKeyspaceQualifiedName) -> &mut Self
pub fn columns(&mut self, value: Vec<ColumnDefinition>) -> &mut Self
pub fn primary_key(&mut self, value: PrimaryKey) -> &mut Self
pub fn options(&mut self, value: Tag<TableOpts>) -> &mut Self
sourcepub fn build(
&self
) -> Result<TaggedCreateTableStatement, TaggedCreateTableStatementBuilderError>
pub fn build(
&self
) -> Result<TaggedCreateTableStatement, TaggedCreateTableStatementBuilderError>
Trait Implementations
sourceimpl Clone for TaggedCreateTableStatementBuilder
impl Clone for TaggedCreateTableStatementBuilder
sourcefn clone(&self) -> TaggedCreateTableStatementBuilder
fn clone(&self) -> TaggedCreateTableStatementBuilder
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 TaggedCreateTableStatementBuilder
impl Send for TaggedCreateTableStatementBuilder
impl Sync for TaggedCreateTableStatementBuilder
impl Unpin for TaggedCreateTableStatementBuilder
impl UnwindSafe for TaggedCreateTableStatementBuilder
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