pub struct WorkloadPodGroupDisruptionMode {
pub all: Option<WorkloadPodGroupAllDisruptionMode>,
pub single: Option<WorkloadPodGroupSingleDisruptionMode>,
}Expand description
WorkloadPodGroupDisruptionMode defines how individual pods within a group can be disrupted. Exactly one mode must be set.
Fields§
§all: Option<WorkloadPodGroupAllDisruptionMode>all specifies that all pods in the group must be disrupted together.
single: Option<WorkloadPodGroupSingleDisruptionMode>single specifies that pods can be disrupted independently from each other.
Trait Implementations§
Source§impl DeepMerge for WorkloadPodGroupDisruptionMode
impl DeepMerge for WorkloadPodGroupDisruptionMode
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl<'de> Deserialize<'de> for WorkloadPodGroupDisruptionMode
impl<'de> Deserialize<'de> for WorkloadPodGroupDisruptionMode
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 StructuralPartialEq for WorkloadPodGroupDisruptionMode
Auto Trait Implementations§
impl Freeze for WorkloadPodGroupDisruptionMode
impl RefUnwindSafe for WorkloadPodGroupDisruptionMode
impl Send for WorkloadPodGroupDisruptionMode
impl Sync for WorkloadPodGroupDisruptionMode
impl Unpin for WorkloadPodGroupDisruptionMode
impl UnsafeUnpin for WorkloadPodGroupDisruptionMode
impl UnwindSafe for WorkloadPodGroupDisruptionMode
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