Struct k8s_openapi_ext::corev1::PortworxVolumeSource
source · [−]pub struct PortworxVolumeSource {
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>
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
volume_id: String
volumeID uniquely identifies a Portworx volume
Trait Implementations
sourceimpl Clone for PortworxVolumeSource
impl Clone for PortworxVolumeSource
sourcefn clone(&self) -> PortworxVolumeSource
fn clone(&self) -> PortworxVolumeSource
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PortworxVolumeSource
impl Debug for PortworxVolumeSource
sourceimpl DeepMerge for PortworxVolumeSource
impl DeepMerge for PortworxVolumeSource
sourcefn merge_from(&mut self, other: PortworxVolumeSource)
fn merge_from(&mut self, other: PortworxVolumeSource)
Merge
other
into self
.sourceimpl Default for PortworxVolumeSource
impl Default for PortworxVolumeSource
sourcefn default() -> PortworxVolumeSource
fn default() -> PortworxVolumeSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PortworxVolumeSource
impl<'de> Deserialize<'de> for PortworxVolumeSource
sourcefn deserialize<D>(
deserializer: D
) -> Result<PortworxVolumeSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<PortworxVolumeSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<PortworxVolumeSource> for PortworxVolumeSource
impl PartialEq<PortworxVolumeSource> for PortworxVolumeSource
sourcefn eq(&self, other: &PortworxVolumeSource) -> bool
fn eq(&self, other: &PortworxVolumeSource) -> bool
sourceimpl Serialize for PortworxVolumeSource
impl Serialize for PortworxVolumeSource
sourcefn 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
impl StructuralPartialEq for PortworxVolumeSource
Auto Trait Implementations
impl RefUnwindSafe for PortworxVolumeSource
impl Send for PortworxVolumeSource
impl Sync for PortworxVolumeSource
impl Unpin for PortworxVolumeSource
impl UnwindSafe for PortworxVolumeSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more