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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)