Struct k8s_openapi::api::core::v1::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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VolumeNodeAffinity
impl Debug for VolumeNodeAffinity
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<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
sourceimpl PartialEq<VolumeNodeAffinity> for VolumeNodeAffinity
impl PartialEq<VolumeNodeAffinity> for VolumeNodeAffinity
sourcefn eq(&self, other: &VolumeNodeAffinity) -> bool
fn eq(&self, other: &VolumeNodeAffinity) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VolumeNodeAffinity) -> bool
fn ne(&self, other: &VolumeNodeAffinity) -> bool
This method tests for !=
.
sourceimpl Serialize for VolumeNodeAffinity
impl Serialize for VolumeNodeAffinity
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more