pub struct PodGroup {
pub name: String,
pub policy: PodGroupPolicy,
}Expand description
PodGroup represents a set of pods with a common scheduling policy.
Fields§
§name: StringName is a unique identifier for the PodGroup within the Workload. It must be a DNS label. This field is immutable.
policy: PodGroupPolicyPolicy defines the scheduling policy for this PodGroup.
Trait Implementations§
Source§impl DeepMerge for PodGroup
impl DeepMerge for PodGroup
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 PodGroup
impl<'de> Deserialize<'de> for PodGroup
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 PodGroup
Auto Trait Implementations§
impl Freeze for PodGroup
impl RefUnwindSafe for PodGroup
impl Send for PodGroup
impl Sync for PodGroup
impl Unpin for PodGroup
impl UnwindSafe for PodGroup
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