Struct podman_rest_client::models::Info
source · 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<Info, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Info, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Info
impl PartialEq for Info
source§impl Serialize for Info
impl Serialize for Info
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)