Struct k8s_openapi_ext::storagev1::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
sourceimpl Clone for VolumeAttachmentSpec
impl Clone for VolumeAttachmentSpec
sourcefn clone(&self) -> VolumeAttachmentSpec
fn clone(&self) -> VolumeAttachmentSpec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VolumeAttachmentSpec
impl Debug for VolumeAttachmentSpec
sourceimpl Default for VolumeAttachmentSpec
impl Default for VolumeAttachmentSpec
sourcefn default() -> VolumeAttachmentSpec
fn default() -> VolumeAttachmentSpec
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for VolumeAttachmentSpec
impl<'de> Deserialize<'de> for VolumeAttachmentSpec
sourcefn deserialize<D>(
deserializer: D
) -> Result<VolumeAttachmentSpec, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<VolumeAttachmentSpec, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<VolumeAttachmentSpec> for VolumeAttachmentSpec
impl PartialEq<VolumeAttachmentSpec> for VolumeAttachmentSpec
sourcefn 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 ==
. Read more
sourceimpl Serialize for VolumeAttachmentSpec
impl Serialize for VolumeAttachmentSpec
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for VolumeAttachmentSpec
Auto Trait Implementations
impl RefUnwindSafe for VolumeAttachmentSpec
impl Send for VolumeAttachmentSpec
impl Sync for VolumeAttachmentSpec
impl Unpin for VolumeAttachmentSpec
impl UnwindSafe for VolumeAttachmentSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more