Struct podman_api::models::VolumeConfigResponse
source · [−]pub struct VolumeConfigResponse {Show 15 fields
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 mount_count: Option<u64>,
pub mountpoint: Option<String>,
pub name: Option<String>,
pub needs_chown: Option<bool>,
pub needs_copy_up: Option<bool>,
pub options: Option<HashMap<String, String, RandomState>>,
pub scope: Option<String>,
pub status: Option<HashMap<String, Value, RandomState>>,
pub timeout: Option<i64>,
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 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.
mount_count: Option<u64>
MountCount is the number of times this volume has been mounted.
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.
needs_chown: Option<bool>
NeedsChown indicates that the next time the volume is mounted into a container, the container will chown the volume to the container process UID/GID.
needs_copy_up: Option<bool>
NeedsCopyUp indicates that the next time the volume is mounted into
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.
timeout: Option<i64>
Timeout is the specified driver timeout if given
uid: Option<i64>
UID is the UID that the volume was created with.
Trait Implementations
sourceimpl Clone for VolumeConfigResponse
impl Clone for VolumeConfigResponse
sourcefn clone(&self) -> VolumeConfigResponse
fn clone(&self) -> VolumeConfigResponse
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 VolumeConfigResponse
impl Debug for VolumeConfigResponse
sourceimpl<'de> Deserialize<'de> for VolumeConfigResponse
impl<'de> Deserialize<'de> for VolumeConfigResponse
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<VolumeConfigResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<VolumeConfigResponse, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<VolumeConfigResponse> for VolumeConfigResponse
impl PartialEq<VolumeConfigResponse> for VolumeConfigResponse
sourcefn eq(&self, other: &VolumeConfigResponse) -> bool
fn eq(&self, other: &VolumeConfigResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for VolumeConfigResponse
impl Serialize for VolumeConfigResponse
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 VolumeConfigResponse
Auto Trait Implementations
impl RefUnwindSafe for VolumeConfigResponse
impl Send for VolumeConfigResponse
impl Sync for VolumeConfigResponse
impl Unpin for VolumeConfigResponse
impl UnwindSafe for VolumeConfigResponse
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> 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