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
sourceimpl Clone for VsphereVirtualDiskVolumeSource
impl Clone for VsphereVirtualDiskVolumeSource
sourcefn clone(&self) -> VsphereVirtualDiskVolumeSource
fn clone(&self) -> VsphereVirtualDiskVolumeSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for VsphereVirtualDiskVolumeSource
impl Default for VsphereVirtualDiskVolumeSource
sourcefn default() -> VsphereVirtualDiskVolumeSource
fn default() -> VsphereVirtualDiskVolumeSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for VsphereVirtualDiskVolumeSource
impl<'de> Deserialize<'de> for VsphereVirtualDiskVolumeSource
sourcefn 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
sourceimpl PartialEq<VsphereVirtualDiskVolumeSource> for VsphereVirtualDiskVolumeSource
impl PartialEq<VsphereVirtualDiskVolumeSource> for VsphereVirtualDiskVolumeSource
sourcefn 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 ==
. Read more
sourceimpl Serialize for VsphereVirtualDiskVolumeSource
impl Serialize for VsphereVirtualDiskVolumeSource
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 VsphereVirtualDiskVolumeSource
Auto Trait Implementations
impl RefUnwindSafe for VsphereVirtualDiskVolumeSource
impl Send for VsphereVirtualDiskVolumeSource
impl Sync for VsphereVirtualDiskVolumeSource
impl Unpin for VsphereVirtualDiskVolumeSource
impl UnwindSafe for VsphereVirtualDiskVolumeSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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