Struct bollard_stubs::models::ClusterVolumeInfo
source · pub struct ClusterVolumeInfo {
pub capacity_bytes: Option<i64>,
pub volume_context: Option<HashMap<String, String>>,
pub volume_id: Option<String>,
pub accessible_topology: Option<Vec<Topology>>,
}
Expand description
Information about the global status of the volume.
Fields§
§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.
accessible_topology: Option<Vec<Topology>>
The topology this volume is actually accessible from.
Trait Implementations§
source§impl Clone for ClusterVolumeInfo
impl Clone for ClusterVolumeInfo
source§fn clone(&self) -> ClusterVolumeInfo
fn clone(&self) -> ClusterVolumeInfo
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 ClusterVolumeInfo
impl Debug for ClusterVolumeInfo
source§impl Default for ClusterVolumeInfo
impl Default for ClusterVolumeInfo
source§fn default() -> ClusterVolumeInfo
fn default() -> ClusterVolumeInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClusterVolumeInfo
impl<'de> Deserialize<'de> for ClusterVolumeInfo
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<ClusterVolumeInfo> for ClusterVolumeInfo
impl PartialEq<ClusterVolumeInfo> for ClusterVolumeInfo
source§fn eq(&self, other: &ClusterVolumeInfo) -> bool
fn eq(&self, other: &ClusterVolumeInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.