Struct k8s_openapi::api::core::v1::NFSVolumeSource
source · [−]Expand description
Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.
Fields
path: String
path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
read_only: Option<bool>
readOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
server: String
server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
Trait Implementations
sourceimpl Clone for NFSVolumeSource
impl Clone for NFSVolumeSource
sourcefn clone(&self) -> NFSVolumeSource
fn clone(&self) -> NFSVolumeSource
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 NFSVolumeSource
impl Debug for NFSVolumeSource
sourceimpl Default for NFSVolumeSource
impl Default for NFSVolumeSource
sourcefn default() -> NFSVolumeSource
fn default() -> NFSVolumeSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for NFSVolumeSource
impl<'de> Deserialize<'de> for NFSVolumeSource
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<NFSVolumeSource> for NFSVolumeSource
impl PartialEq<NFSVolumeSource> for NFSVolumeSource
sourcefn eq(&self, other: &NFSVolumeSource) -> bool
fn eq(&self, other: &NFSVolumeSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NFSVolumeSource) -> bool
fn ne(&self, other: &NFSVolumeSource) -> bool
This method tests for !=
.
sourceimpl Serialize for NFSVolumeSource
impl Serialize for NFSVolumeSource
impl StructuralPartialEq for NFSVolumeSource
Auto Trait Implementations
impl RefUnwindSafe for NFSVolumeSource
impl Send for NFSVolumeSource
impl Sync for NFSVolumeSource
impl Unpin for NFSVolumeSource
impl UnwindSafe for NFSVolumeSource
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more