pub struct CreateClusterReplicaV4 {
pub cluster_id: String,
pub cluster_name: String,
pub replica_id: Option<StringWrapper>,
pub replica_name: String,
pub logical_size: String,
pub billed_as: Option<String>,
pub internal: bool,
pub reason: CreateOrDropClusterReplicaReasonV1,
pub scheduling_policies: Option<SchedulingDecisionsWithReasonsV2>,
}Fields§
§cluster_id: String§cluster_name: String§replica_id: Option<StringWrapper>§replica_name: String§logical_size: String§billed_as: Option<String>§internal: bool§reason: CreateOrDropClusterReplicaReasonV1§scheduling_policies: Option<SchedulingDecisionsWithReasonsV2>Trait Implementations§
Source§impl Arbitrary for CreateClusterReplicaV4
impl Arbitrary for CreateClusterReplicaV4
Source§type Parameters = (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<StringWrapper> as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <bool as Arbitrary>::Parameters, <CreateOrDropClusterReplicaReasonV1 as Arbitrary>::Parameters, <Option<SchedulingDecisionsWithReasonsV2> as Arbitrary>::Parameters)
type Parameters = (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<StringWrapper> as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<String> as Arbitrary>::Parameters, <bool as Arbitrary>::Parameters, <CreateOrDropClusterReplicaReasonV1 as Arbitrary>::Parameters, <Option<SchedulingDecisionsWithReasonsV2> 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, <String as Arbitrary>::Strategy, <Option<StringWrapper> as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <bool as Arbitrary>::Strategy, <CreateOrDropClusterReplicaReasonV1 as Arbitrary>::Strategy, <Option<SchedulingDecisionsWithReasonsV2> as Arbitrary>::Strategy), fn((String, String, Option<StringWrapper>, String, String, Option<String>, bool, CreateOrDropClusterReplicaReasonV1, Option<SchedulingDecisionsWithReasonsV2>)) -> CreateClusterReplicaV4>
type Strategy = Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<StringWrapper> as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<String> as Arbitrary>::Strategy, <bool as Arbitrary>::Strategy, <CreateOrDropClusterReplicaReasonV1 as Arbitrary>::Strategy, <Option<SchedulingDecisionsWithReasonsV2> as Arbitrary>::Strategy), fn((String, String, Option<StringWrapper>, String, String, Option<String>, bool, CreateOrDropClusterReplicaReasonV1, Option<SchedulingDecisionsWithReasonsV2>)) -> CreateClusterReplicaV4>
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 CreateClusterReplicaV4
impl Clone for CreateClusterReplicaV4
Source§fn clone(&self) -> CreateClusterReplicaV4
fn clone(&self) -> CreateClusterReplicaV4
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 CreateClusterReplicaV4
impl Debug for CreateClusterReplicaV4
Source§impl<'de> Deserialize<'de> for CreateClusterReplicaV4
impl<'de> Deserialize<'de> for CreateClusterReplicaV4
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 CreateClusterReplicaV4
Source§impl Ord for CreateClusterReplicaV4
impl Ord for CreateClusterReplicaV4
Source§fn cmp(&self, other: &CreateClusterReplicaV4) -> Ordering
fn cmp(&self, other: &CreateClusterReplicaV4) -> 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 CreateClusterReplicaV4
impl PartialEq for CreateClusterReplicaV4
Source§impl PartialOrd for CreateClusterReplicaV4
impl PartialOrd for CreateClusterReplicaV4
Source§impl Serialize for CreateClusterReplicaV4
impl Serialize for CreateClusterReplicaV4
impl StructuralPartialEq for CreateClusterReplicaV4
Auto Trait Implementations§
impl Freeze for CreateClusterReplicaV4
impl RefUnwindSafe for CreateClusterReplicaV4
impl Send for CreateClusterReplicaV4
impl Sync for CreateClusterReplicaV4
impl Unpin for CreateClusterReplicaV4
impl UnsafeUnpin for CreateClusterReplicaV4
impl UnwindSafe for CreateClusterReplicaV4
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