Struct k8s_openapi::v1_10::api::storage::v1beta1::VolumeAttachmentSource[][src]

pub struct VolumeAttachmentSource {
    pub persistent_volume_name: Option<String>,
}

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

Name of the persistent volume to attach.

Trait Implementations

impl Clone for VolumeAttachmentSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for VolumeAttachmentSource
[src]

Formats the value using the given formatter. Read more

impl Default for VolumeAttachmentSource
[src]

Returns the "default value" for a type. Read more

impl PartialEq for VolumeAttachmentSource
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for VolumeAttachmentSource
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for VolumeAttachmentSource
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations