pub struct PhotonPersistentDiskVolumeSource {
pub fs_type: Option<String>,
pub pd_id: Option<String>,
}Fields§
§fs_type: Option<String>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: Option<String>ID that identifies Photon Controller persistent disk
Implementations§
Trait Implementations§
Source§impl Clone for PhotonPersistentDiskVolumeSource
impl Clone for PhotonPersistentDiskVolumeSource
Source§fn clone(&self) -> PhotonPersistentDiskVolumeSource
fn clone(&self) -> PhotonPersistentDiskVolumeSource
Returns a duplicate 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<'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 FromStr for PhotonPersistentDiskVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a PhotonPersistentDiskVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for PhotonPersistentDiskVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a PhotonPersistentDiskVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
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 ==.Source§impl ToString for PhotonPersistentDiskVolumeSource
Converts the PhotonPersistentDiskVolumeSource value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for PhotonPersistentDiskVolumeSource
Converts the PhotonPersistentDiskVolumeSource value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl<'v_a> ValidateArgs<'v_a> for PhotonPersistentDiskVolumeSource
impl<'v_a> ValidateArgs<'v_a> for PhotonPersistentDiskVolumeSource
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