pub struct DropClusterReplicaV2 {
pub cluster_id: String,
pub cluster_name: String,
pub replica_id: Option<StringWrapper>,
pub replica_name: String,
pub reason: Option<CreateOrDropClusterReplicaReasonV1>,
pub scheduling_policies: Option<SchedulingDecisionsWithReasonsV1>,
}Fields§
§cluster_id: String§cluster_name: String§replica_id: Option<StringWrapper>§replica_name: String§reason: Option<CreateOrDropClusterReplicaReasonV1>§scheduling_policies: Option<SchedulingDecisionsWithReasonsV1>Trait Implementations§
Source§impl Arbitrary for DropClusterReplicaV2
impl Arbitrary for DropClusterReplicaV2
Source§type Parameters = (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<StringWrapper> as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<CreateOrDropClusterReplicaReasonV1> as Arbitrary>::Parameters, <Option<SchedulingDecisionsWithReasonsV1> as Arbitrary>::Parameters)
type Parameters = (<String as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<StringWrapper> as Arbitrary>::Parameters, <String as Arbitrary>::Parameters, <Option<CreateOrDropClusterReplicaReasonV1> as Arbitrary>::Parameters, <Option<SchedulingDecisionsWithReasonsV1> 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, Filter<<Option<CreateOrDropClusterReplicaReasonV1> as Arbitrary>::Strategy, fn(&Option<CreateOrDropClusterReplicaReasonV1>) -> bool>, <Option<SchedulingDecisionsWithReasonsV1> as Arbitrary>::Strategy), fn((String, String, Option<StringWrapper>, String, Option<CreateOrDropClusterReplicaReasonV1>, Option<SchedulingDecisionsWithReasonsV1>)) -> DropClusterReplicaV2>
type Strategy = Map<(<String as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, <Option<StringWrapper> as Arbitrary>::Strategy, <String as Arbitrary>::Strategy, Filter<<Option<CreateOrDropClusterReplicaReasonV1> as Arbitrary>::Strategy, fn(&Option<CreateOrDropClusterReplicaReasonV1>) -> bool>, <Option<SchedulingDecisionsWithReasonsV1> as Arbitrary>::Strategy), fn((String, String, Option<StringWrapper>, String, Option<CreateOrDropClusterReplicaReasonV1>, Option<SchedulingDecisionsWithReasonsV1>)) -> DropClusterReplicaV2>
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 DropClusterReplicaV2
impl Clone for DropClusterReplicaV2
Source§fn clone(&self) -> DropClusterReplicaV2
fn clone(&self) -> DropClusterReplicaV2
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 DropClusterReplicaV2
impl Debug for DropClusterReplicaV2
Source§impl Default for DropClusterReplicaV2
impl Default for DropClusterReplicaV2
Source§fn default() -> DropClusterReplicaV2
fn default() -> DropClusterReplicaV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DropClusterReplicaV2
impl<'de> Deserialize<'de> for DropClusterReplicaV2
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 DropClusterReplicaV2
Source§impl Ord for DropClusterReplicaV2
impl Ord for DropClusterReplicaV2
Source§fn cmp(&self, other: &DropClusterReplicaV2) -> Ordering
fn cmp(&self, other: &DropClusterReplicaV2) -> 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 DropClusterReplicaV2
impl PartialEq for DropClusterReplicaV2
Source§impl PartialOrd for DropClusterReplicaV2
impl PartialOrd for DropClusterReplicaV2
Source§impl Serialize for DropClusterReplicaV2
impl Serialize for DropClusterReplicaV2
impl StructuralPartialEq for DropClusterReplicaV2
Auto Trait Implementations§
impl Freeze for DropClusterReplicaV2
impl RefUnwindSafe for DropClusterReplicaV2
impl Send for DropClusterReplicaV2
impl Sync for DropClusterReplicaV2
impl Unpin for DropClusterReplicaV2
impl UnsafeUnpin for DropClusterReplicaV2
impl UnwindSafe for DropClusterReplicaV2
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