pub struct PortworxVolumeSource {
pub fs_type: Option<String>,
pub read_only: Option<bool>,
pub volume_id: Option<String>,
}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. +optional
volume_id: Option<String>VolumeID uniquely identifies a Portworx volume
Implementations§
Source§impl PortworxVolumeSource
impl PortworxVolumeSource
pub fn new() -> PortworxVolumeSource
Trait Implementations§
Source§impl Clone for PortworxVolumeSource
impl Clone for PortworxVolumeSource
Source§fn clone(&self) -> PortworxVolumeSource
fn clone(&self) -> PortworxVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PortworxVolumeSource
impl Debug for PortworxVolumeSource
Source§impl<'de> Deserialize<'de> for PortworxVolumeSource
impl<'de> Deserialize<'de> for PortworxVolumeSource
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>,
Source§impl FromStr for PortworxVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a PortworxVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for PortworxVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a PortworxVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for PortworxVolumeSource
impl PartialEq for PortworxVolumeSource
Source§impl Serialize for PortworxVolumeSource
impl Serialize for PortworxVolumeSource
Source§impl ToString for PortworxVolumeSource
Converts the PortworxVolumeSource value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for PortworxVolumeSource
Converts the PortworxVolumeSource value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer