Struct k8s_openapi::api::resource::v1alpha2::ResourceClaimSchedulingStatus
source · pub struct ResourceClaimSchedulingStatus {
pub name: Option<String>,
pub unsuitable_nodes: Option<Vec<String>>,
}
Expand description
ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with “WaitForFirstConsumer” allocation mode.
Fields§
§name: Option<String>
Name matches the pod.spec.resourceClaims[*].Name field.
unsuitable_nodes: Option<Vec<String>>
UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
Trait Implementations§
source§impl Clone for ResourceClaimSchedulingStatus
impl Clone for ResourceClaimSchedulingStatus
source§fn clone(&self) -> ResourceClaimSchedulingStatus
fn clone(&self) -> ResourceClaimSchedulingStatus
Returns a copy of the value. Read more
1.0.0 · 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 ResourceClaimSchedulingStatus
impl DeepMerge for ResourceClaimSchedulingStatus
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ResourceClaimSchedulingStatus
impl Default for ResourceClaimSchedulingStatus
source§fn default() -> ResourceClaimSchedulingStatus
fn default() -> ResourceClaimSchedulingStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResourceClaimSchedulingStatus
impl<'de> Deserialize<'de> for ResourceClaimSchedulingStatus
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 ResourceClaimSchedulingStatus
impl PartialEq for ResourceClaimSchedulingStatus
source§fn eq(&self, other: &ResourceClaimSchedulingStatus) -> bool
fn eq(&self, other: &ResourceClaimSchedulingStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceClaimSchedulingStatus
Auto Trait Implementations§
impl Freeze for ResourceClaimSchedulingStatus
impl RefUnwindSafe for ResourceClaimSchedulingStatus
impl Send for ResourceClaimSchedulingStatus
impl Sync for ResourceClaimSchedulingStatus
impl Unpin for ResourceClaimSchedulingStatus
impl UnwindSafe for ResourceClaimSchedulingStatus
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