Struct k8s_openapi::api::core::v1::NFSVolumeSource
source · pub struct NFSVolumeSource {
pub path: String,
pub read_only: Option<bool>,
pub server: String,
}
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§
source§impl Clone for NFSVolumeSource
impl Clone for NFSVolumeSource
source§fn clone(&self) -> NFSVolumeSource
fn clone(&self) -> NFSVolumeSource
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 NFSVolumeSource
impl Debug for NFSVolumeSource
source§impl DeepMerge for NFSVolumeSource
impl DeepMerge for NFSVolumeSource
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for NFSVolumeSource
impl Default for NFSVolumeSource
source§fn default() -> NFSVolumeSource
fn default() -> NFSVolumeSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NFSVolumeSource
impl<'de> Deserialize<'de> for NFSVolumeSource
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 NFSVolumeSource
impl PartialEq for NFSVolumeSource
source§fn 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 ==
.source§impl Serialize for NFSVolumeSource
impl Serialize for NFSVolumeSource
impl StructuralPartialEq for NFSVolumeSource
Auto Trait Implementations§
impl Freeze for NFSVolumeSource
impl RefUnwindSafe for NFSVolumeSource
impl Send for NFSVolumeSource
impl Sync for NFSVolumeSource
impl Unpin for NFSVolumeSource
impl UnwindSafe for NFSVolumeSource
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