pub struct PhotonPersistentDiskVolumeSource {
pub fs_type: Option<String>,
pub pd_id: String,
}
Expand description
Represents a Photon Controller persistent disk resource.
Fields§
§fs_type: Option<String>
fsType is the 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.
pd_id: String
pdID is the ID that identifies Photon Controller persistent disk
Trait Implementations§
Source§impl Clone for PhotonPersistentDiskVolumeSource
impl Clone for PhotonPersistentDiskVolumeSource
Source§fn clone(&self) -> PhotonPersistentDiskVolumeSource
fn clone(&self) -> PhotonPersistentDiskVolumeSource
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 PhotonPersistentDiskVolumeSource
impl DeepMerge for PhotonPersistentDiskVolumeSource
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for PhotonPersistentDiskVolumeSource
impl Default for PhotonPersistentDiskVolumeSource
Source§fn default() -> PhotonPersistentDiskVolumeSource
fn default() -> PhotonPersistentDiskVolumeSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PhotonPersistentDiskVolumeSource
impl<'de> Deserialize<'de> for PhotonPersistentDiskVolumeSource
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 PartialEq for PhotonPersistentDiskVolumeSource
impl PartialEq for PhotonPersistentDiskVolumeSource
Source§fn eq(&self, other: &PhotonPersistentDiskVolumeSource) -> bool
fn eq(&self, other: &PhotonPersistentDiskVolumeSource) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PhotonPersistentDiskVolumeSource
Auto Trait Implementations§
impl Freeze for PhotonPersistentDiskVolumeSource
impl RefUnwindSafe for PhotonPersistentDiskVolumeSource
impl Send for PhotonPersistentDiskVolumeSource
impl Sync for PhotonPersistentDiskVolumeSource
impl Unpin for PhotonPersistentDiskVolumeSource
impl UnwindSafe for PhotonPersistentDiskVolumeSource
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