pub struct ManagedCluster {
pub size: String,
pub replication_factor: u32,
pub availability_zones: Vec<String>,
pub logging: Option<ReplicaLogging>,
pub optimizer_feature_overrides: Vec<OptimizerFeatureOverride>,
pub schedule: Option<ClusterSchedule>,
}Fields§
§size: String§replication_factor: u32§availability_zones: Vec<String>§logging: Option<ReplicaLogging>§optimizer_feature_overrides: Vec<OptimizerFeatureOverride>§schedule: Option<ClusterSchedule>Trait Implementations§
Source§impl Arbitrary for ManagedCluster
impl Arbitrary for ManagedCluster
Source§type Parameters = (<String as Arbitrary>::Parameters, <u32 as Arbitrary>::Parameters, <Vec<String> as Arbitrary>::Parameters, <Option<ReplicaLogging> as Arbitrary>::Parameters, <Vec<OptimizerFeatureOverride> as Arbitrary>::Parameters, <Option<ClusterSchedule> as Arbitrary>::Parameters)
type Parameters = (<String as Arbitrary>::Parameters, <u32 as Arbitrary>::Parameters, <Vec<String> as Arbitrary>::Parameters, <Option<ReplicaLogging> as Arbitrary>::Parameters, <Vec<OptimizerFeatureOverride> as Arbitrary>::Parameters, <Option<ClusterSchedule> 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<(<String as Arbitrary>::Strategy, <u32 as Arbitrary>::Strategy, <Vec<String> as Arbitrary>::Strategy, <Option<ReplicaLogging> as Arbitrary>::Strategy, <Vec<OptimizerFeatureOverride> as Arbitrary>::Strategy, <Option<ClusterSchedule> as Arbitrary>::Strategy), fn((String, u32, Vec<String>, Option<ReplicaLogging>, Vec<OptimizerFeatureOverride>, Option<ClusterSchedule>)) -> ManagedCluster>
type Strategy = Map<(<String as Arbitrary>::Strategy, <u32 as Arbitrary>::Strategy, <Vec<String> as Arbitrary>::Strategy, <Option<ReplicaLogging> as Arbitrary>::Strategy, <Vec<OptimizerFeatureOverride> as Arbitrary>::Strategy, <Option<ClusterSchedule> as Arbitrary>::Strategy), fn((String, u32, Vec<String>, Option<ReplicaLogging>, Vec<OptimizerFeatureOverride>, Option<ClusterSchedule>)) -> ManagedCluster>
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 ManagedCluster
impl Clone for ManagedCluster
Source§fn clone(&self) -> ManagedCluster
fn clone(&self) -> ManagedCluster
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 ManagedCluster
impl Debug for ManagedCluster
Source§impl Default for ManagedCluster
impl Default for ManagedCluster
Source§fn default() -> ManagedCluster
fn default() -> ManagedCluster
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ManagedCluster
impl<'de> Deserialize<'de> for ManagedCluster
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 ManagedCluster
Source§impl Ord for ManagedCluster
impl Ord for ManagedCluster
Source§fn cmp(&self, other: &ManagedCluster) -> Ordering
fn cmp(&self, other: &ManagedCluster) -> 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 ManagedCluster
impl PartialEq for ManagedCluster
Source§impl PartialOrd for ManagedCluster
impl PartialOrd for ManagedCluster
Source§impl Serialize for ManagedCluster
impl Serialize for ManagedCluster
impl StructuralPartialEq for ManagedCluster
Auto Trait Implementations§
impl Freeze for ManagedCluster
impl RefUnwindSafe for ManagedCluster
impl Send for ManagedCluster
impl Sync for ManagedCluster
impl Unpin for ManagedCluster
impl UnsafeUnpin for ManagedCluster
impl UnwindSafe for ManagedCluster
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