pub struct CompositeDisruptionMode {
pub all: Option<AllCompositeDisruptionMode>,
pub single: Option<SingleCompositeDisruptionMode>,
}Expand description
CompositeDisruptionMode defines how individual entities within a composite pod group can be disrupted. Exactly one mode must be set.
Fields§
§all: Option<AllCompositeDisruptionMode>all specifies that all children groups can only be disrupted together.
single: Option<SingleCompositeDisruptionMode>single specifies that children groups can be disrupted independently from each other.
Trait Implementations§
Source§impl Clone for CompositeDisruptionMode
impl Clone for CompositeDisruptionMode
Source§impl Debug for CompositeDisruptionMode
impl Debug for CompositeDisruptionMode
Source§impl DeepMerge for CompositeDisruptionMode
impl DeepMerge for CompositeDisruptionMode
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for CompositeDisruptionMode
impl Default for CompositeDisruptionMode
Source§impl<'de> Deserialize<'de> for CompositeDisruptionMode
impl<'de> Deserialize<'de> for CompositeDisruptionMode
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
Source§impl PartialEq for CompositeDisruptionMode
impl PartialEq for CompositeDisruptionMode
Source§impl Serialize for CompositeDisruptionMode
impl Serialize for CompositeDisruptionMode
impl StructuralPartialEq for CompositeDisruptionMode
Auto Trait Implementations§
impl Freeze for CompositeDisruptionMode
impl RefUnwindSafe for CompositeDisruptionMode
impl Send for CompositeDisruptionMode
impl Sync for CompositeDisruptionMode
impl Unpin for CompositeDisruptionMode
impl UnsafeUnpin for CompositeDisruptionMode
impl UnwindSafe for CompositeDisruptionMode
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