pub struct ClusterVolumeInfoInlineItem {
pub accessible_topology: Option<Vec<HashMap<String, String>>>,
pub capacity_bytes: Option<i64>,
pub volume_context: Option<HashMap<String, String>>,
pub volume_id: Option<String>,
}
Expand description
Information about the global status of the volume.
Fields§
§accessible_topology: Option<Vec<HashMap<String, String>>>
The topology this volume is actually accessible from.
capacity_bytes: Option<i64>
The capacity of the volume in bytes. A value of 0 indicates that the capacity is unknown.
volume_context: Option<HashMap<String, String>>
A map of strings to strings returned from the storage plugin when the volume is created.
volume_id: Option<String>
The ID of the volume as returned by the CSI storage plugin. This is distinct from the volume’s ID as provided by Docker. This ID is never used by the user when communicating with Docker to refer to this volume. If the ID is blank, then the Volume has not been successfully created in the plugin yet.
Trait Implementations§
Source§impl Clone for ClusterVolumeInfoInlineItem
impl Clone for ClusterVolumeInfoInlineItem
Source§fn clone(&self) -> ClusterVolumeInfoInlineItem
fn clone(&self) -> ClusterVolumeInfoInlineItem
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 ClusterVolumeInfoInlineItem
impl Debug for ClusterVolumeInfoInlineItem
Source§impl<'de> Deserialize<'de> for ClusterVolumeInfoInlineItem
impl<'de> Deserialize<'de> for ClusterVolumeInfoInlineItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClusterVolumeInfoInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClusterVolumeInfoInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ClusterVolumeInfoInlineItem
impl Serialize for ClusterVolumeInfoInlineItem
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
impl StructuralPartialEq for ClusterVolumeInfoInlineItem
Auto Trait Implementations§
impl Freeze for ClusterVolumeInfoInlineItem
impl RefUnwindSafe for ClusterVolumeInfoInlineItem
impl Send for ClusterVolumeInfoInlineItem
impl Sync for ClusterVolumeInfoInlineItem
impl Unpin for ClusterVolumeInfoInlineItem
impl UnwindSafe for ClusterVolumeInfoInlineItem
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