pub struct CompositePodGroupSchedulingPolicy {
pub basic: Option<CompositeBasicSchedulingPolicy>,
pub gang: Option<CompositeGangSchedulingPolicy>,
}Expand description
CompositePodGroupSchedulingPolicy defines the scheduling configuration for a CompositePodGroup. Exactly one policy must be set.
Fields§
§basic: Option<CompositeBasicSchedulingPolicy>basic specifies that the groups of this composite group should be scheduled independently. This field is immutable.
gang: Option<CompositeGangSchedulingPolicy>gang specifies that the groups of this composite group should be scheduled using all-or-nothing semantics.
Trait Implementations§
Source§impl DeepMerge for CompositePodGroupSchedulingPolicy
impl DeepMerge for CompositePodGroupSchedulingPolicy
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 CompositePodGroupSchedulingPolicy
impl<'de> Deserialize<'de> for CompositePodGroupSchedulingPolicy
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 CompositePodGroupSchedulingPolicy
Auto Trait Implementations§
impl Freeze for CompositePodGroupSchedulingPolicy
impl RefUnwindSafe for CompositePodGroupSchedulingPolicy
impl Send for CompositePodGroupSchedulingPolicy
impl Sync for CompositePodGroupSchedulingPolicy
impl Unpin for CompositePodGroupSchedulingPolicy
impl UnsafeUnpin for CompositePodGroupSchedulingPolicy
impl UnwindSafe for CompositePodGroupSchedulingPolicy
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