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§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