Struct bollard::secret::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<HashMap<String, Option<Vec<PortBinding>>>>>,
}
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<HashMap<String, Option<Vec<PortBinding>>>>>
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<ClusterVolumeInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ClusterVolumeInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ClusterVolumeInfo
impl PartialEq 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 ==
.source§impl Serialize for ClusterVolumeInfo
impl Serialize for ClusterVolumeInfo
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 ClusterVolumeInfo
Auto Trait Implementations§
impl Freeze for ClusterVolumeInfo
impl RefUnwindSafe for ClusterVolumeInfo
impl Send for ClusterVolumeInfo
impl Sync for ClusterVolumeInfo
impl Unpin for ClusterVolumeInfo
impl UnwindSafe for ClusterVolumeInfo
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