pub struct PodSchedulingGroup {
pub pod_group_name: Option<String>,
}Expand description
PodSchedulingGroup identifies the runtime scheduling group instance that a Pod belongs to. The scheduler uses this information to apply workload-aware scheduling semantics. Exactly one field must be specified.
Fields§
§pod_group_name: Option<String>PodGroupName specifies the name of the standalone PodGroup object that represents the runtime instance of this group. Must be a DNS subdomain.
Trait Implementations§
Source§impl Clone for PodSchedulingGroup
impl Clone for PodSchedulingGroup
Source§fn clone(&self) -> PodSchedulingGroup
fn clone(&self) -> PodSchedulingGroup
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 PodSchedulingGroup
impl Debug for PodSchedulingGroup
Source§impl DeepMerge for PodSchedulingGroup
impl DeepMerge for PodSchedulingGroup
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for PodSchedulingGroup
impl Default for PodSchedulingGroup
Source§fn default() -> PodSchedulingGroup
fn default() -> PodSchedulingGroup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PodSchedulingGroup
impl<'de> Deserialize<'de> for PodSchedulingGroup
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 PodSchedulingGroup
impl PartialEq for PodSchedulingGroup
Source§fn eq(&self, other: &PodSchedulingGroup) -> bool
fn eq(&self, other: &PodSchedulingGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PodSchedulingGroup
impl Serialize for PodSchedulingGroup
impl StructuralPartialEq for PodSchedulingGroup
Auto Trait Implementations§
impl Freeze for PodSchedulingGroup
impl RefUnwindSafe for PodSchedulingGroup
impl Send for PodSchedulingGroup
impl Sync for PodSchedulingGroup
impl Unpin for PodSchedulingGroup
impl UnsafeUnpin for PodSchedulingGroup
impl UnwindSafe for PodSchedulingGroup
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