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 VolumeNodeAffinityfn clone(&self) -> VolumeNodeAffinity[src]
fn clone(&self) -> VolumeNodeAffinityReturns 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 VolumeNodeAffinityfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for VolumeNodeAffinity[src]
impl Default for VolumeNodeAffinityfn default() -> VolumeNodeAffinity[src]
fn default() -> VolumeNodeAffinityReturns the "default value" for a type. Read more
impl PartialEq for VolumeNodeAffinity[src]
impl PartialEq for VolumeNodeAffinityfn eq(&self, other: &VolumeNodeAffinity) -> bool[src]
fn eq(&self, other: &VolumeNodeAffinity) -> boolThis 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) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for VolumeNodeAffinity[src]
impl<'de> Deserialize<'de> for VolumeNodeAffinityfn 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 VolumeNodeAffinityAuto Trait Implementations
impl Send for VolumeNodeAffinity
impl Send for VolumeNodeAffinityimpl Sync for VolumeNodeAffinity
impl Sync for VolumeNodeAffinity