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§
Source§impl Clone for TaggedReplication
impl Clone for TaggedReplication
Source§fn clone(&self) -> TaggedReplication
fn clone(&self) -> TaggedReplication
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for TaggedReplication
impl<'a> CustomToTokens<'a> for TaggedReplication
Source§impl Debug for TaggedReplication
impl Debug for TaggedReplication
Source§impl Default for TaggedReplication
impl Default for TaggedReplication
Source§impl FromStr for TaggedReplication
impl FromStr for TaggedReplication
Source§impl Parse for TaggedReplication
impl Parse for TaggedReplication
type Output = TaggedReplication
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for TaggedReplication
impl PartialEq for TaggedReplication
Source§impl ToTokens for TaggedReplication
impl ToTokens for TaggedReplication
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
Source§impl TryFrom<TaggedMapLiteral> for TaggedReplication
impl TryFrom<TaggedMapLiteral> for TaggedReplication
Source§impl TryFrom<TaggedReplication> for Replication
impl TryFrom<TaggedReplication> for Replication
impl Eq for TaggedReplication
impl StructuralPartialEq for TaggedReplication
Auto Trait Implementations§
impl Freeze for TaggedReplication
impl RefUnwindSafe for TaggedReplication
impl Send for TaggedReplication
impl Sync for TaggedReplication
impl Unpin for TaggedReplication
impl UnwindSafe for TaggedReplication
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more