Struct scylladb_parse::KeyspaceOpts
source · [−]pub struct KeyspaceOpts {
pub replication: Replication,
pub durable_writes: Option<bool>,
}Fields
replication: Replicationdurable_writes: Option<bool>Trait Implementations
sourceimpl Clone for KeyspaceOpts
impl Clone for KeyspaceOpts
sourcefn clone(&self) -> KeyspaceOpts
fn clone(&self) -> KeyspaceOpts
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
sourceimpl<'a> CustomToTokens<'a> for KeyspaceOpts
impl<'a> CustomToTokens<'a> for KeyspaceOpts
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for KeyspaceOpts
impl Debug for KeyspaceOpts
sourceimpl Default for KeyspaceOpts
impl Default for KeyspaceOpts
sourcefn default() -> KeyspaceOpts
fn default() -> KeyspaceOpts
Returns the “default value” for a type. Read more
sourceimpl Display for KeyspaceOpts
impl Display for KeyspaceOpts
sourceimpl FromStr for KeyspaceOpts
impl FromStr for KeyspaceOpts
sourceimpl Parse for KeyspaceOpts
impl Parse for KeyspaceOpts
type Output = KeyspaceOpts
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<KeyspaceOpts> for KeyspaceOpts
impl PartialEq<KeyspaceOpts> for KeyspaceOpts
sourcefn eq(&self, other: &KeyspaceOpts) -> bool
fn eq(&self, other: &KeyspaceOpts) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &KeyspaceOpts) -> bool
fn ne(&self, other: &KeyspaceOpts) -> bool
This method tests for !=.
sourceimpl ToTokens for KeyspaceOpts
impl ToTokens for KeyspaceOpts
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourceimpl TryFrom<TaggedKeyspaceOpts> for KeyspaceOpts
impl TryFrom<TaggedKeyspaceOpts> for KeyspaceOpts
impl Eq for KeyspaceOpts
impl StructuralEq for KeyspaceOpts
impl StructuralPartialEq for KeyspaceOpts
Auto Trait Implementations
impl RefUnwindSafe for KeyspaceOpts
impl Send for KeyspaceOpts
impl Sync for KeyspaceOpts
impl Unpin for KeyspaceOpts
impl UnwindSafe for KeyspaceOpts
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