Struct k8s_openapi::api::core::v1::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§
source§impl Clone for PortworxVolumeSource
impl Clone for PortworxVolumeSource
source§fn clone(&self) -> PortworxVolumeSource
fn clone(&self) -> PortworxVolumeSource
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 PortworxVolumeSource
impl Debug for PortworxVolumeSource
source§impl DeepMerge for PortworxVolumeSource
impl DeepMerge for PortworxVolumeSource
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for PortworxVolumeSource
impl Default for PortworxVolumeSource
source§fn default() -> PortworxVolumeSource
fn default() -> PortworxVolumeSource
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for PortworxVolumeSource
impl JsonSchema for PortworxVolumeSource
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for PortworxVolumeSource
impl PartialEq for PortworxVolumeSource
source§fn eq(&self, other: &PortworxVolumeSource) -> bool
fn eq(&self, other: &PortworxVolumeSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PortworxVolumeSource
impl Serialize for PortworxVolumeSource
impl StructuralPartialEq for PortworxVolumeSource
Auto Trait Implementations§
impl Freeze for PortworxVolumeSource
impl RefUnwindSafe for PortworxVolumeSource
impl Send for PortworxVolumeSource
impl Sync for PortworxVolumeSource
impl Unpin for PortworxVolumeSource
impl UnwindSafe for PortworxVolumeSource
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