pub struct IoK8sApiCoreV1NfsVolumeSource {
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: StringPath 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: StringServer 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 IoK8sApiCoreV1NfsVolumeSource
impl Clone for IoK8sApiCoreV1NfsVolumeSource
Source§fn clone(&self) -> IoK8sApiCoreV1NfsVolumeSource
fn clone(&self) -> IoK8sApiCoreV1NfsVolumeSource
Returns a duplicate 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<'de> Deserialize<'de> for IoK8sApiCoreV1NfsVolumeSource
impl<'de> Deserialize<'de> for IoK8sApiCoreV1NfsVolumeSource
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 From<&IoK8sApiCoreV1NfsVolumeSource> for IoK8sApiCoreV1NfsVolumeSource
impl From<&IoK8sApiCoreV1NfsVolumeSource> for IoK8sApiCoreV1NfsVolumeSource
Source§fn from(value: &IoK8sApiCoreV1NfsVolumeSource) -> Self
fn from(value: &IoK8sApiCoreV1NfsVolumeSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1NfsVolumeSource
impl RefUnwindSafe for IoK8sApiCoreV1NfsVolumeSource
impl Send for IoK8sApiCoreV1NfsVolumeSource
impl Sync for IoK8sApiCoreV1NfsVolumeSource
impl Unpin for IoK8sApiCoreV1NfsVolumeSource
impl UnwindSafe for IoK8sApiCoreV1NfsVolumeSource
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