Struct scylladb_parse::KeyspaceOptsBuilder
source · [−]pub struct KeyspaceOptsBuilder { /* private fields */ }Expand description
Builder for KeyspaceOpts.
Implementations
sourceimpl KeyspaceOptsBuilder
impl KeyspaceOptsBuilder
pub fn replication<VALUE: Into<Replication>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn durable_writes(&mut self, value: bool) -> &mut Self
sourcepub fn build(&self) -> Result<KeyspaceOpts, KeyspaceOptsBuilderError>
pub fn build(&self) -> Result<KeyspaceOpts, KeyspaceOptsBuilderError>
Trait Implementations
sourceimpl Clone for KeyspaceOptsBuilder
impl Clone for KeyspaceOptsBuilder
sourcefn clone(&self) -> KeyspaceOptsBuilder
fn clone(&self) -> KeyspaceOptsBuilder
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 KeyspaceOptsBuilder
impl Send for KeyspaceOptsBuilder
impl Sync for KeyspaceOptsBuilder
impl Unpin for KeyspaceOptsBuilder
impl UnwindSafe for KeyspaceOptsBuilder
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