Struct bollard::models::Volume[][src]

pub struct Volume {
    pub name: String,
    pub driver: String,
    pub mountpoint: String,
    pub created_at: Option<DateTime<Utc>>,
    pub status: Option<HashMap<String, HashMap<(), (), RandomState>, RandomState>>,
    pub labels: HashMap<String, String, RandomState>,
    pub scope: Option<VolumeScopeEnum>,
    pub options: HashMap<String, String, RandomState>,
    pub usage_data: Option<VolumeUsageData>,
}

Fields

name: String

Name of the volume.

driver: String

Name of the volume driver used by the volume.

mountpoint: String

Mount path of the volume on the host.

created_at: Option<DateTime<Utc>>

Date/Time the volume was created.

status: Option<HashMap<String, HashMap<(), (), RandomState>, RandomState>>

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.

labels: HashMap<String, String, RandomState>

User-defined key/value metadata.

scope: Option<VolumeScopeEnum>

The level at which the volume exists. Either global for cluster-wide, or local for machine level.

options: HashMap<String, String, RandomState>

The driver specific options used when creating the volume.

usage_data: Option<VolumeUsageData>

Trait Implementations

impl Clone for Volume[src]

impl Debug for Volume[src]

impl Default for Volume[src]

impl<'de> Deserialize<'de> for Volume[src]

impl PartialEq<Volume> for Volume[src]

impl Serialize for Volume[src]

impl StructuralPartialEq for Volume[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.