Struct podman_api::models::LibpodVolumeInspectResponse [−][src]
pub struct LibpodVolumeInspectResponse {
pub anonymous: Option<bool>,
pub created_at: Option<DateTime<Utc>>,
pub driver: Option<String>,
pub GID: Option<i64>,
pub labels: Option<HashMap<String, String, RandomState>>,
pub mountpoint: Option<String>,
pub name: Option<String>,
pub options: Option<HashMap<String, String, RandomState>>,
pub scope: Option<String>,
pub status: Option<HashMap<String, Value, RandomState>>,
pub UID: Option<i64>,
}
Fields
anonymous: Option<bool>
Anonymous indicates that the volume was created as an anonymous volume for a specific container, and will be be removed when any container using it is removed.
created_at: Option<DateTime<Utc>>
CreatedAt is the date and time the volume was created at. This is not stored for older Libpod volumes; if so, it will be omitted.
driver: Option<String>
Driver is the driver used to create the volume. If set to "local" or "", the Local driver (Podman built-in code) is used to service the volume; otherwise, a volume plugin with the given name is used to mount and manage the volume.
GID: Option<i64>
GID is the GID that the volume was created with.
labels: Option<HashMap<String, String, RandomState>>
Labels includes the volume’s configured labels, key:value pairs that can be passed during volume creation to provide information for third party tools.
mountpoint: Option<String>
Mountpoint is the path on the host where the volume is mounted.
name: Option<String>
Name is the name of the volume.
options: Option<HashMap<String, String, RandomState>>
Options is a set of options that were used when creating the volume. For the Local driver, these are mount options that will be used to determine how a local filesystem is mounted; they are handled as parameters to Mount in a manner described in the volume create manpage. For non-local drivers, these are passed as-is to the volume plugin.
scope: Option<String>
Scope is unused and provided solely for Docker compatibility. It is unconditionally set to "local".
status: Option<HashMap<String, Value, RandomState>>
Status is used to return information on the volume’s current state, if the volume was created using a volume plugin (uses a Driver that is not the local driver). Status is provided to us by an external program, so no guarantees are made about its format or contents. Further, it is an optional field, so it may not be set even in cases where a volume plugin is in use.
UID: Option<i64>
UID is the UID that the volume was created with.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<LibpodVolumeInspectResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<LibpodVolumeInspectResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub 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
Auto Trait Implementations
impl RefUnwindSafe for LibpodVolumeInspectResponse
impl Send for LibpodVolumeInspectResponse
impl Sync for LibpodVolumeInspectResponse
impl Unpin for LibpodVolumeInspectResponse
impl UnwindSafe for LibpodVolumeInspectResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more