Struct k8s_openapi::api::core::v1::VolumeNodeAffinity [−][src]
pub struct VolumeNodeAffinity {
pub required: Option<NodeSelector>,
}
Expand description
VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.
Fields
required: Option<NodeSelector>
Required specifies hard node constraints that must be met.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for VolumeNodeAffinity
impl Send for VolumeNodeAffinity
impl Sync for VolumeNodeAffinity
impl Unpin for VolumeNodeAffinity
impl UnwindSafe for VolumeNodeAffinity
Blanket Implementations
Mutably borrows from an owned value. Read more