Struct k8s_openapi_ext::corev1::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: NFSVolumeSource)
fn merge_from(&mut self, other: NFSVolumeSource)
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<NFSVolumeSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<NFSVolumeSource, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<NFSVolumeSource> for NFSVolumeSource
impl PartialEq<NFSVolumeSource> 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
source§fn 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