pub struct ReplicaConfig {
pub logging: ReplicaLogging,
pub location: ReplicaLocation,
}Fields§
§logging: ReplicaLogging§location: ReplicaLocationTrait Implementations§
Source§impl Arbitrary for ReplicaConfig
impl Arbitrary for ReplicaConfig
Source§type Parameters = (<ReplicaLogging as Arbitrary>::Parameters, <ReplicaLocation as Arbitrary>::Parameters)
type Parameters = (<ReplicaLogging as Arbitrary>::Parameters, <ReplicaLocation as Arbitrary>::Parameters)
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = Map<(<ReplicaLogging as Arbitrary>::Strategy, <ReplicaLocation as Arbitrary>::Strategy), fn((ReplicaLogging, ReplicaLocation)) -> ReplicaConfig>
type Strategy = Map<(<ReplicaLogging as Arbitrary>::Strategy, <ReplicaLocation as Arbitrary>::Strategy), fn((ReplicaLogging, ReplicaLocation)) -> ReplicaConfig>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for ReplicaConfig
impl Clone for ReplicaConfig
Source§fn clone(&self) -> ReplicaConfig
fn clone(&self) -> ReplicaConfig
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 ReplicaConfig
impl Debug for ReplicaConfig
Source§impl<'de> Deserialize<'de> for ReplicaConfig
impl<'de> Deserialize<'de> for ReplicaConfig
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
impl Eq for ReplicaConfig
Source§impl Ord for ReplicaConfig
impl Ord for ReplicaConfig
Source§fn cmp(&self, other: &ReplicaConfig) -> Ordering
fn cmp(&self, other: &ReplicaConfig) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ReplicaConfig
impl PartialEq for ReplicaConfig
Source§impl PartialOrd for ReplicaConfig
impl PartialOrd for ReplicaConfig
Source§impl Serialize for ReplicaConfig
impl Serialize for ReplicaConfig
impl StructuralPartialEq for ReplicaConfig
Auto Trait Implementations§
impl Freeze for ReplicaConfig
impl RefUnwindSafe for ReplicaConfig
impl Send for ReplicaConfig
impl Sync for ReplicaConfig
impl Unpin for ReplicaConfig
impl UnsafeUnpin for ReplicaConfig
impl UnwindSafe for ReplicaConfig
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