Struct k8s_openapi::api::storage::v1::VolumeNodeResources
source · pub struct VolumeNodeResources {
pub count: Option<i32>,
}
Expand description
VolumeNodeResources is a set of resource limits for scheduling of volumes.
Fields§
§count: Option<i32>
Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.
Trait Implementations§
source§impl Clone for VolumeNodeResources
impl Clone for VolumeNodeResources
source§fn clone(&self) -> VolumeNodeResources
fn clone(&self) -> VolumeNodeResources
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 Debug for VolumeNodeResources
impl Debug for VolumeNodeResources
source§impl DeepMerge for VolumeNodeResources
impl DeepMerge for VolumeNodeResources
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for VolumeNodeResources
impl Default for VolumeNodeResources
source§fn default() -> VolumeNodeResources
fn default() -> VolumeNodeResources
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VolumeNodeResources
impl<'de> Deserialize<'de> for VolumeNodeResources
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<VolumeNodeResources> for VolumeNodeResources
impl PartialEq<VolumeNodeResources> for VolumeNodeResources
source§fn eq(&self, other: &VolumeNodeResources) -> bool
fn eq(&self, other: &VolumeNodeResources) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.