pub struct NodeAllocatableMappedResources {
pub name: String,
pub quantity: Quantity,
}Expand description
NodeAllocatableMappedResources describes mapped node allocatable resource allocations.
Fields§
§name: StringName is the name of the resource (e.g., cpu, memory).
quantity: QuantityQuantity is the total node allocatable resource capacity allocated for the claim. This claim’s allocated devices is shared by all the containers referencing the claim. Kubelet adds this value to both requests and limits at the pod-level cgroup, and to limits at the container-level cgroup for each container referencing the claim.
Trait Implementations§
Source§impl DeepMerge for NodeAllocatableMappedResources
impl DeepMerge for NodeAllocatableMappedResources
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 NodeAllocatableMappedResources
impl<'de> Deserialize<'de> for NodeAllocatableMappedResources
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 NodeAllocatableMappedResources
Auto Trait Implementations§
impl Freeze for NodeAllocatableMappedResources
impl RefUnwindSafe for NodeAllocatableMappedResources
impl Send for NodeAllocatableMappedResources
impl Sync for NodeAllocatableMappedResources
impl Unpin for NodeAllocatableMappedResources
impl UnsafeUnpin for NodeAllocatableMappedResources
impl UnwindSafe for NodeAllocatableMappedResources
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