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: Self)
fn merge_from(&mut self, other: Self)
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<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 AttachedVolume
impl PartialEq for AttachedVolume
Source§impl Serialize for AttachedVolume
impl Serialize for AttachedVolume
impl StructuralPartialEq for AttachedVolume
Auto Trait Implementations§
impl Freeze for AttachedVolume
impl RefUnwindSafe for AttachedVolume
impl Send for AttachedVolume
impl Sync for AttachedVolume
impl Unpin for AttachedVolume
impl UnwindSafe for AttachedVolume
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