Struct k8s_openapi_ext::corev1::VolumeNodeAffinity
source · [−]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
sourceimpl Clone for VolumeNodeAffinity
impl Clone for VolumeNodeAffinity
sourcefn clone(&self) -> VolumeNodeAffinity
fn clone(&self) -> VolumeNodeAffinity
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VolumeNodeAffinity
impl Debug for VolumeNodeAffinity
sourceimpl DeepMerge for VolumeNodeAffinity
impl DeepMerge for VolumeNodeAffinity
sourcefn merge_from(&mut self, other: VolumeNodeAffinity)
fn merge_from(&mut self, other: VolumeNodeAffinity)
Merge
other
into self
.sourceimpl Default for VolumeNodeAffinity
impl Default for VolumeNodeAffinity
sourcefn default() -> VolumeNodeAffinity
fn default() -> VolumeNodeAffinity
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for VolumeNodeAffinity
impl<'de> Deserialize<'de> for VolumeNodeAffinity
sourcefn deserialize<D>(
deserializer: D
) -> Result<VolumeNodeAffinity, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<VolumeNodeAffinity, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<VolumeNodeAffinity> for VolumeNodeAffinity
impl PartialEq<VolumeNodeAffinity> for VolumeNodeAffinity
sourcefn eq(&self, other: &VolumeNodeAffinity) -> bool
fn eq(&self, other: &VolumeNodeAffinity) -> bool
sourceimpl Serialize for VolumeNodeAffinity
impl Serialize for VolumeNodeAffinity
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for VolumeNodeAffinity
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more