Struct scylladb_parse::TaggedReplication
source · [−]pub struct TaggedReplication {
pub class: Tag<LitStr>,
pub replication_factor: Option<Tag<i32>>,
pub datacenters: BTreeMap<Tag<LitStr>, Tag<i32>>,
}Fields
class: Tag<LitStr>replication_factor: Option<Tag<i32>>datacenters: BTreeMap<Tag<LitStr>, Tag<i32>>Trait Implementations
sourceimpl Clone for TaggedReplication
impl Clone for TaggedReplication
sourcefn clone(&self) -> TaggedReplication
fn clone(&self) -> TaggedReplication
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 TaggedReplication
impl<'a> CustomToTokens<'a> for TaggedReplication
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for TaggedReplication
impl Debug for TaggedReplication
sourceimpl Default for TaggedReplication
impl Default for TaggedReplication
sourceimpl FromStr for TaggedReplication
impl FromStr for TaggedReplication
sourceimpl Parse for TaggedReplication
impl Parse for TaggedReplication
type Output = TaggedReplication
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<TaggedReplication> for TaggedReplication
impl PartialEq<TaggedReplication> for TaggedReplication
sourcefn eq(&self, other: &TaggedReplication) -> bool
fn eq(&self, other: &TaggedReplication) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TaggedReplication) -> bool
fn ne(&self, other: &TaggedReplication) -> bool
This method tests for !=.
sourceimpl ToTokens for TaggedReplication
impl ToTokens for TaggedReplication
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<TaggedMapLiteral> for TaggedReplication
impl TryFrom<TaggedMapLiteral> for TaggedReplication
sourceimpl TryFrom<TaggedReplication> for Replication
impl TryFrom<TaggedReplication> for Replication
impl Eq for TaggedReplication
impl StructuralEq for TaggedReplication
impl StructuralPartialEq for TaggedReplication
Auto Trait Implementations
impl RefUnwindSafe for TaggedReplication
impl Send for TaggedReplication
impl Sync for TaggedReplication
impl Unpin for TaggedReplication
impl UnwindSafe for TaggedReplication
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