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: 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
impl Clone for VolumeAttachmentSpec[src]
impl Clone for VolumeAttachmentSpecfn clone(&self) -> VolumeAttachmentSpec[src]
fn clone(&self) -> VolumeAttachmentSpecReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for VolumeAttachmentSpec[src]
impl Debug for VolumeAttachmentSpecfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for VolumeAttachmentSpec[src]
impl Default for VolumeAttachmentSpecfn default() -> VolumeAttachmentSpec[src]
fn default() -> VolumeAttachmentSpecReturns the "default value" for a type. Read more
impl PartialEq for VolumeAttachmentSpec[src]
impl PartialEq for VolumeAttachmentSpecfn eq(&self, other: &VolumeAttachmentSpec) -> bool[src]
fn eq(&self, other: &VolumeAttachmentSpec) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &VolumeAttachmentSpec) -> bool[src]
fn ne(&self, other: &VolumeAttachmentSpec) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for VolumeAttachmentSpec[src]
impl<'de> Deserialize<'de> for VolumeAttachmentSpecfn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for VolumeAttachmentSpec[src]
impl Serialize for VolumeAttachmentSpecAuto Trait Implementations
impl Send for VolumeAttachmentSpec
impl Send for VolumeAttachmentSpecimpl Sync for VolumeAttachmentSpec
impl Sync for VolumeAttachmentSpec