Struct k8s_openapi_ext::corev1::AttachedVolume
source · pub struct AttachedVolume {
pub device_path: String,
pub name: String,
}
Expand description
AttachedVolume describes a volume attached to a node
Fields§
§device_path: String
DevicePath represents the device path where the volume should be available
name: String
Name of the attached volume
Trait Implementations§
source§impl Clone for AttachedVolume
impl Clone for AttachedVolume
source§fn clone(&self) -> AttachedVolume
fn clone(&self) -> AttachedVolume
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 AttachedVolume
impl Debug for AttachedVolume
source§impl DeepMerge for AttachedVolume
impl DeepMerge for AttachedVolume
source§fn merge_from(&mut self, other: AttachedVolume)
fn merge_from(&mut self, other: AttachedVolume)
Merge
other
into self
.source§impl Default for AttachedVolume
impl Default for AttachedVolume
source§fn default() -> AttachedVolume
fn default() -> AttachedVolume
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AttachedVolume
impl<'de> Deserialize<'de> for AttachedVolume
source§fn deserialize<D>(
deserializer: D
) -> Result<AttachedVolume, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<AttachedVolume, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<AttachedVolume> for AttachedVolume
impl PartialEq<AttachedVolume> for AttachedVolume
source§fn eq(&self, other: &AttachedVolume) -> bool
fn eq(&self, other: &AttachedVolume) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AttachedVolume
impl Serialize for AttachedVolume
source§fn 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