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

pub struct VolumeAttachmentSpec {
    pub attacher: String,
    pub node_name: String,
    pub source: VolumeAttachmentSource,
}

VolumeAttachmentSpec is the specification of a VolumeAttachment request.

Fields

Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().

The node that the volume should be attached to.

Source represents the volume that should be attached.

Trait Implementations

impl Clone for VolumeAttachmentSpec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for VolumeAttachmentSpec
[src]

Formats the value using the given formatter. Read more

impl Default for VolumeAttachmentSpec
[src]

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

impl PartialEq for VolumeAttachmentSpec
[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 VolumeAttachmentSpec
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for VolumeAttachmentSpec
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations