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>
count indicates the 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 JsonSchema for VolumeNodeResources
impl JsonSchema for VolumeNodeResources
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for VolumeNodeResources
impl PartialEq for VolumeNodeResources
source§impl Serialize for VolumeNodeResources
impl Serialize for VolumeNodeResources
impl StructuralPartialEq for VolumeNodeResources
Auto Trait Implementations§
impl Freeze for VolumeNodeResources
impl RefUnwindSafe for VolumeNodeResources
impl Send for VolumeNodeResources
impl Sync for VolumeNodeResources
impl Unpin for VolumeNodeResources
impl UnwindSafe for VolumeNodeResources
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)