pub struct Info {
pub accessible_topology: Option<Vec<Topology>>,
pub capacity_bytes: Option<i64>,
pub volume_context: Option<HashMap<String, String>>,
pub volume_id: Option<String>,
}
Expand description
Info : Info contains information about the Volume as a whole as provided by the CSI storage plugin.
Fields§
§accessible_topology: Option<Vec<Topology>>
AccessibleTopolgoy is the topology this volume is actually accessible from.
capacity_bytes: Option<i64>
CapacityBytes is the capacity of the volume in bytes. A value of 0 indicates that the capacity is unknown.
volume_context: Option<HashMap<String, String>>
VolumeContext is the context originating from the CSI storage plugin when the Volume is created.
volume_id: Option<String>
VolumeID is the ID of the Volume as seen by the CSI storage plugin. This is distinct from the Volume’s Swarm ID, which is the ID used by all of the Docker Engine to refer to the Volume. If this field is blank, then the Volume has not been successfully created yet.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Info
impl<'de> Deserialize<'de> for Info
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
impl StructuralPartialEq for Info
Auto Trait Implementations§
impl Freeze for Info
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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