pub type VolumeInspect = Volume;
Expand description
Volume volume
Aliased Type§
pub struct VolumeInspect {
pub created_at: Option<String>,
pub driver: String,
pub labels: HashMap<String, String>,
pub mountpoint: String,
pub name: String,
pub options: HashMap<String, String>,
pub scope: String,
pub status: Option<Value>,
pub usage_data: Option<VolumeUsageData>,
}
Fields§
§created_at: Option<String>
Date/Time the volume was created.
driver: String
Name of the volume driver used by the volume.
labels: HashMap<String, String>
User-defined key/value metadata.
mountpoint: String
Mount path of the volume on the host.
name: String
Name of the volume.
options: HashMap<String, String>
The driver specific options used when creating the volume.
scope: String
The level at which the volume exists. Either global
for cluster-wide,
or local
for machine level.
status: Option<Value>
Low-level details about the volume, provided by the volume driver.
Details are returned as a map with key/value pairs:
{"key":"value","key2":"value2"}
.
The Status
field is optional, and is omitted if the volume driver
does not support this feature.
usage_data: Option<VolumeUsageData>