Struct docker_api::models::ClusterVolumeInfoInlineItem
source · pub struct ClusterVolumeInfoInlineItem {
pub accessible_topology: Option<Vec<HashMap<String, String, RandomState>, Global>>,
pub capacity_bytes: Option<i64>,
pub volume_context: Option<HashMap<String, String, RandomState>>,
pub volume_id: Option<String>,
}
Expand description
Information about the global status of the volume.
Fields§
§accessible_topology: Option<Vec<HashMap<String, String, RandomState>, Global>>
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, RandomState>>
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 PartialEq<ClusterVolumeInfoInlineItem> for ClusterVolumeInfoInlineItem
impl PartialEq<ClusterVolumeInfoInlineItem> for ClusterVolumeInfoInlineItem
source§fn eq(&self, other: &ClusterVolumeInfoInlineItem) -> bool
fn eq(&self, other: &ClusterVolumeInfoInlineItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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