pub struct VsphereVirtualDiskVolumeSource {
pub volume_path: Option<String>,
pub fs_type: Option<String>,
pub storage_policy_name: Option<String>,
pub storage_policy_id: Option<String>,
}Expand description
Represents a vSphere volume resource.
Fields§
§volume_path: Option<String>volumePath is the path that identifies vSphere volume vmdk
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. +optional
storage_policy_name: Option<String>storagePolicyName is the storage Policy Based Management (SPBM) profile name. +optional
storage_policy_id: Option<String>storagePolicyID is the storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName. +optional
Implementations§
Source§impl VsphereVirtualDiskVolumeSource
impl VsphereVirtualDiskVolumeSource
Sourcepub fn volume_path(&self) -> &str
pub fn volume_path(&self) -> &str
Returns the value of volume_path, or the default value if volume_path is unset.
Sourcepub fn fs_type(&self) -> &str
pub fn fs_type(&self) -> &str
Returns the value of fs_type, or the default value if fs_type is unset.
Sourcepub fn storage_policy_name(&self) -> &str
pub fn storage_policy_name(&self) -> &str
Returns the value of storage_policy_name, or the default value if storage_policy_name is unset.
Sourcepub fn storage_policy_id(&self) -> &str
pub fn storage_policy_id(&self) -> &str
Returns the value of storage_policy_id, or the default value if storage_policy_id is unset.
Trait Implementations§
Source§impl Clone for VsphereVirtualDiskVolumeSource
impl Clone for VsphereVirtualDiskVolumeSource
Source§fn clone(&self) -> VsphereVirtualDiskVolumeSource
fn clone(&self) -> VsphereVirtualDiskVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Message for VsphereVirtualDiskVolumeSource
impl Message for VsphereVirtualDiskVolumeSource
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for VsphereVirtualDiskVolumeSource
impl PartialEq for VsphereVirtualDiskVolumeSource
Source§fn eq(&self, other: &VsphereVirtualDiskVolumeSource) -> bool
fn eq(&self, other: &VsphereVirtualDiskVolumeSource) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VsphereVirtualDiskVolumeSource
Auto Trait Implementations§
impl Freeze for VsphereVirtualDiskVolumeSource
impl RefUnwindSafe for VsphereVirtualDiskVolumeSource
impl Send for VsphereVirtualDiskVolumeSource
impl Sync for VsphereVirtualDiskVolumeSource
impl Unpin for VsphereVirtualDiskVolumeSource
impl UnsafeUnpin for VsphereVirtualDiskVolumeSource
impl UnwindSafe for VsphereVirtualDiskVolumeSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request