pub struct NodeAllocatableResourceClaimStatus {
pub containers: Option<Vec<String>>,
pub resource_claim_name: String,
pub resources: BTreeMap<String, Quantity>,
}Expand description
NodeAllocatableResourceClaimStatus describes the status of node allocatable resources allocated via DRA.
Fields§
§containers: Option<Vec<String>>Containers lists the names of all containers in this pod that reference the claim.
resource_claim_name: StringResourceClaimName is the resource claim referenced by the pod that resulted in this node allocatable resource allocation.
resources: BTreeMap<String, Quantity>Resources is a map of the node-allocatable resource name to the aggregate quantity allocated to the claim.
Trait Implementations§
Source§impl Clone for NodeAllocatableResourceClaimStatus
impl Clone for NodeAllocatableResourceClaimStatus
Source§fn clone(&self) -> NodeAllocatableResourceClaimStatus
fn clone(&self) -> NodeAllocatableResourceClaimStatus
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 NodeAllocatableResourceClaimStatus
impl DeepMerge for NodeAllocatableResourceClaimStatus
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for NodeAllocatableResourceClaimStatus
impl Default for NodeAllocatableResourceClaimStatus
Source§fn default() -> NodeAllocatableResourceClaimStatus
fn default() -> NodeAllocatableResourceClaimStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeAllocatableResourceClaimStatus
impl<'de> Deserialize<'de> for NodeAllocatableResourceClaimStatus
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 NodeAllocatableResourceClaimStatus
impl PartialEq for NodeAllocatableResourceClaimStatus
Source§fn eq(&self, other: &NodeAllocatableResourceClaimStatus) -> bool
fn eq(&self, other: &NodeAllocatableResourceClaimStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NodeAllocatableResourceClaimStatus
Auto Trait Implementations§
impl Freeze for NodeAllocatableResourceClaimStatus
impl RefUnwindSafe for NodeAllocatableResourceClaimStatus
impl Send for NodeAllocatableResourceClaimStatus
impl Sync for NodeAllocatableResourceClaimStatus
impl Unpin for NodeAllocatableResourceClaimStatus
impl UnsafeUnpin for NodeAllocatableResourceClaimStatus
impl UnwindSafe for NodeAllocatableResourceClaimStatus
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