Struct k8s_openapi::v1_10::api::core::v1::VolumeNodeAffinity [−][src]
pub struct VolumeNodeAffinity { pub required: Option<NodeSelector>, }
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
impl Clone for VolumeNodeAffinity
[src]
impl Clone for VolumeNodeAffinity
fn clone(&self) -> VolumeNodeAffinity
[src]
fn clone(&self) -> VolumeNodeAffinity
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for VolumeNodeAffinity
[src]
impl Debug for VolumeNodeAffinity
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for VolumeNodeAffinity
[src]
impl Default for VolumeNodeAffinity
fn default() -> VolumeNodeAffinity
[src]
fn default() -> VolumeNodeAffinity
Returns the "default value" for a type. Read more
impl PartialEq for VolumeNodeAffinity
[src]
impl PartialEq for VolumeNodeAffinity
fn eq(&self, other: &VolumeNodeAffinity) -> bool
[src]
fn eq(&self, other: &VolumeNodeAffinity) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &VolumeNodeAffinity) -> bool
[src]
fn ne(&self, other: &VolumeNodeAffinity) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for VolumeNodeAffinity
[src]
impl<'de> Deserialize<'de> for VolumeNodeAffinity
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for VolumeNodeAffinity
[src]
impl Serialize for VolumeNodeAffinity
Auto Trait Implementations
impl Send for VolumeNodeAffinity
impl Send for VolumeNodeAffinity
impl Sync for VolumeNodeAffinity
impl Sync for VolumeNodeAffinity