pub struct VsphereVirtualDiskVolumeSource {
pub fs_type: Option<String>,
pub storage_policy_id: Option<String>,
pub storage_policy_name: Option<String>,
pub volume_path: String,
}
Expand description
Represents a vSphere volume resource.
Fields§
§fs_type: Option<String>
fsType is filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
storage_policy_id: Option<String>
storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
storage_policy_name: Option<String>
storagePolicyName is the storage Policy Based Management (SPBM) profile name.
volume_path: String
volumePath is the path that identifies vSphere volume vmdk
Trait Implementations§
source§impl Clone for VsphereVirtualDiskVolumeSource
impl Clone for VsphereVirtualDiskVolumeSource
source§fn clone(&self) -> VsphereVirtualDiskVolumeSource
fn clone(&self) -> VsphereVirtualDiskVolumeSource
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 DeepMerge for VsphereVirtualDiskVolumeSource
impl DeepMerge for VsphereVirtualDiskVolumeSource
source§fn merge_from(&mut self, other: VsphereVirtualDiskVolumeSource)
fn merge_from(&mut self, other: VsphereVirtualDiskVolumeSource)
Merge
other
into self
.source§impl Default for VsphereVirtualDiskVolumeSource
impl Default for VsphereVirtualDiskVolumeSource
source§fn default() -> VsphereVirtualDiskVolumeSource
fn default() -> VsphereVirtualDiskVolumeSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VsphereVirtualDiskVolumeSource
impl<'de> Deserialize<'de> for VsphereVirtualDiskVolumeSource
source§fn deserialize<D>(
deserializer: D
) -> Result<VsphereVirtualDiskVolumeSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<VsphereVirtualDiskVolumeSource, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<VsphereVirtualDiskVolumeSource> for VsphereVirtualDiskVolumeSource
impl PartialEq<VsphereVirtualDiskVolumeSource> for VsphereVirtualDiskVolumeSource
source§fn eq(&self, other: &VsphereVirtualDiskVolumeSource) -> bool
fn eq(&self, other: &VsphereVirtualDiskVolumeSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VsphereVirtualDiskVolumeSource
impl Serialize for VsphereVirtualDiskVolumeSource
source§fn 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