Struct k8s_openapi::api::core::v1::PhotonPersistentDiskVolumeSource
source · 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 JsonSchema for PhotonPersistentDiskVolumeSource
impl JsonSchema for PhotonPersistentDiskVolumeSource
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for PhotonPersistentDiskVolumeSource
impl PartialEq for PhotonPersistentDiskVolumeSource
source§fn eq(&self, other: &PhotonPersistentDiskVolumeSource) -> bool
fn eq(&self, other: &PhotonPersistentDiskVolumeSource) -> bool
This method 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