pub struct IoK8sApiCoreV1PortworxVolumeSource {
pub fs_type: Option<String>,
pub read_only: Option<bool>,
pub volume_id: String,
}Expand description
PortworxVolumeSource represents a Portworx volume resource.
Fields§
§fs_type: Option<String>FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”. Implicitly inferred to be “ext4” if unspecified.
read_only: Option<bool>Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
volume_id: StringVolumeID uniquely identifies a Portworx volume
Trait Implementations§
Source§impl Clone for IoK8sApiCoreV1PortworxVolumeSource
impl Clone for IoK8sApiCoreV1PortworxVolumeSource
Source§fn clone(&self) -> IoK8sApiCoreV1PortworxVolumeSource
fn clone(&self) -> IoK8sApiCoreV1PortworxVolumeSource
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 IoK8sApiCoreV1PortworxVolumeSource
impl<'de> Deserialize<'de> for IoK8sApiCoreV1PortworxVolumeSource
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<&IoK8sApiCoreV1PortworxVolumeSource> for IoK8sApiCoreV1PortworxVolumeSource
impl From<&IoK8sApiCoreV1PortworxVolumeSource> for IoK8sApiCoreV1PortworxVolumeSource
Source§fn from(value: &IoK8sApiCoreV1PortworxVolumeSource) -> Self
fn from(value: &IoK8sApiCoreV1PortworxVolumeSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1PortworxVolumeSource
impl RefUnwindSafe for IoK8sApiCoreV1PortworxVolumeSource
impl Send for IoK8sApiCoreV1PortworxVolumeSource
impl Sync for IoK8sApiCoreV1PortworxVolumeSource
impl Unpin for IoK8sApiCoreV1PortworxVolumeSource
impl UnwindSafe for IoK8sApiCoreV1PortworxVolumeSource
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