Struct podman_api::models::LibpodVolumeInspectResponse
source · [−]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
sourceimpl Clone for LibpodVolumeInspectResponse
impl Clone for LibpodVolumeInspectResponse
sourcefn clone(&self) -> LibpodVolumeInspectResponse
fn clone(&self) -> LibpodVolumeInspectResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LibpodVolumeInspectResponse
impl Debug for LibpodVolumeInspectResponse
sourceimpl<'de> Deserialize<'de> for LibpodVolumeInspectResponse
impl<'de> Deserialize<'de> for LibpodVolumeInspectResponse
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<LibpodVolumeInspectResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
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
sourceimpl PartialEq<LibpodVolumeInspectResponse> for LibpodVolumeInspectResponse
impl PartialEq<LibpodVolumeInspectResponse> for LibpodVolumeInspectResponse
sourcefn eq(&self, other: &LibpodVolumeInspectResponse) -> bool
fn eq(&self, other: &LibpodVolumeInspectResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LibpodVolumeInspectResponse) -> bool
fn ne(&self, other: &LibpodVolumeInspectResponse) -> bool
This method tests for !=
.
sourceimpl Serialize for LibpodVolumeInspectResponse
impl Serialize for LibpodVolumeInspectResponse
sourcefn 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 LibpodVolumeInspectResponse
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more