Struct k8s_openapi::v1_12::api::storage::v1alpha1::VolumeAttachmentSource
source · Expand description
VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
Fields§
§persistent_volume_name: Option<String>
Name of the persistent volume to attach.
Trait Implementations§
source§impl Clone for VolumeAttachmentSource
impl Clone for VolumeAttachmentSource
source§fn clone(&self) -> VolumeAttachmentSource
fn clone(&self) -> VolumeAttachmentSource
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 Debug for VolumeAttachmentSource
impl Debug for VolumeAttachmentSource
source§impl Default for VolumeAttachmentSource
impl Default for VolumeAttachmentSource
source§fn default() -> VolumeAttachmentSource
fn default() -> VolumeAttachmentSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VolumeAttachmentSource
impl<'de> Deserialize<'de> for VolumeAttachmentSource
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