pub struct GeoDistribution {
pub regions: Vec<String>,
pub min_replicas: u32,
pub consistency_level: ConsistencyLevel,
}Fieldsยง
ยงregions: Vec<String>ยงmin_replicas: u32ยงconsistency_level: ConsistencyLevelTrait Implementationsยง
Sourceยงimpl Clone for GeoDistribution
impl Clone for GeoDistribution
Sourceยงfn clone(&self) -> GeoDistribution
fn clone(&self) -> GeoDistribution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for GeoDistribution
impl Debug for GeoDistribution
Sourceยงimpl<'de> Deserialize<'de> for GeoDistribution
impl<'de> Deserialize<'de> for GeoDistribution
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementationsยง
impl Freeze for GeoDistribution
impl RefUnwindSafe for GeoDistribution
impl Send for GeoDistribution
impl Sync for GeoDistribution
impl Unpin for GeoDistribution
impl UnsafeUnpin for GeoDistribution
impl UnwindSafe for GeoDistribution
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