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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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