Struct k8s_openapi::api::storage::v1::VolumeAttachmentSpec
source · pub struct VolumeAttachmentSpec {
pub attacher: String,
pub node_name: String,
pub source: VolumeAttachmentSource,
}
Expand description
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
Fields§
§attacher: String
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
node_name: String
The node that the volume should be attached to.
source: VolumeAttachmentSource
Source represents the volume that should be attached.
Trait Implementations§
source§impl Clone for VolumeAttachmentSpec
impl Clone for VolumeAttachmentSpec
source§fn clone(&self) -> VolumeAttachmentSpec
fn clone(&self) -> VolumeAttachmentSpec
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 VolumeAttachmentSpec
impl Debug for VolumeAttachmentSpec
source§impl DeepMerge for VolumeAttachmentSpec
impl DeepMerge for VolumeAttachmentSpec
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for VolumeAttachmentSpec
impl Default for VolumeAttachmentSpec
source§fn default() -> VolumeAttachmentSpec
fn default() -> VolumeAttachmentSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VolumeAttachmentSpec
impl<'de> Deserialize<'de> for VolumeAttachmentSpec
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 PartialEq<VolumeAttachmentSpec> for VolumeAttachmentSpec
impl PartialEq<VolumeAttachmentSpec> for VolumeAttachmentSpec
source§fn eq(&self, other: &VolumeAttachmentSpec) -> bool
fn eq(&self, other: &VolumeAttachmentSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.