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
nodeName represents 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 for VolumeAttachmentSpec
impl PartialEq for VolumeAttachmentSpec
Source§impl Serialize for VolumeAttachmentSpec
impl Serialize for VolumeAttachmentSpec
impl StructuralPartialEq for VolumeAttachmentSpec
Auto Trait Implementations§
impl Freeze for VolumeAttachmentSpec
impl RefUnwindSafe for VolumeAttachmentSpec
impl Send for VolumeAttachmentSpec
impl Sync for VolumeAttachmentSpec
impl Unpin for VolumeAttachmentSpec
impl UnwindSafe for VolumeAttachmentSpec
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