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§
Source§impl Clone for VolumeNodeAffinity
impl Clone for VolumeNodeAffinity
Source§fn clone(&self) -> VolumeNodeAffinity
fn clone(&self) -> VolumeNodeAffinity
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 VolumeNodeAffinity
impl Debug for VolumeNodeAffinity
Source§impl DeepMerge for VolumeNodeAffinity
impl DeepMerge for VolumeNodeAffinity
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for VolumeNodeAffinity
impl Default for VolumeNodeAffinity
Source§fn default() -> VolumeNodeAffinity
fn default() -> VolumeNodeAffinity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeNodeAffinity
impl<'de> Deserialize<'de> for VolumeNodeAffinity
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 PartialEq for VolumeNodeAffinity
impl PartialEq for VolumeNodeAffinity
Source§impl Serialize for VolumeNodeAffinity
impl Serialize for VolumeNodeAffinity
impl StructuralPartialEq for VolumeNodeAffinity
Auto Trait Implementations§
impl Freeze for VolumeNodeAffinity
impl RefUnwindSafe for VolumeNodeAffinity
impl Send for VolumeNodeAffinity
impl Sync for VolumeNodeAffinity
impl Unpin for VolumeNodeAffinity
impl UnwindSafe for VolumeNodeAffinity
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