pub struct PodGroupSchedulingConstraints {
pub topology: Option<Vec<TopologyConstraint>>,
}Expand description
PodGroupSchedulingConstraints defines scheduling constraints (e.g. topology) for a PodGroup.
Fields§
§topology: Option<Vec<TopologyConstraint>>Topology defines the topology constraints for the pod group. Currently only a single topology constraint can be specified. This may change in the future.
Trait Implementations§
Source§impl Clone for PodGroupSchedulingConstraints
impl Clone for PodGroupSchedulingConstraints
Source§fn clone(&self) -> PodGroupSchedulingConstraints
fn clone(&self) -> PodGroupSchedulingConstraints
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 DeepMerge for PodGroupSchedulingConstraints
impl DeepMerge for PodGroupSchedulingConstraints
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for PodGroupSchedulingConstraints
impl Default for PodGroupSchedulingConstraints
Source§fn default() -> PodGroupSchedulingConstraints
fn default() -> PodGroupSchedulingConstraints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PodGroupSchedulingConstraints
impl<'de> Deserialize<'de> for PodGroupSchedulingConstraints
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 PodGroupSchedulingConstraints
impl PartialEq for PodGroupSchedulingConstraints
Source§fn eq(&self, other: &PodGroupSchedulingConstraints) -> bool
fn eq(&self, other: &PodGroupSchedulingConstraints) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PodGroupSchedulingConstraints
Auto Trait Implementations§
impl Freeze for PodGroupSchedulingConstraints
impl RefUnwindSafe for PodGroupSchedulingConstraints
impl Send for PodGroupSchedulingConstraints
impl Sync for PodGroupSchedulingConstraints
impl Unpin for PodGroupSchedulingConstraints
impl UnsafeUnpin for PodGroupSchedulingConstraints
impl UnwindSafe for PodGroupSchedulingConstraints
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