Struct bollard_stubs::models::VolumeUsageData[][src]

pub struct VolumeUsageData {
    pub size: i64,
    pub ref_count: i64,
}

Usage details about the volume. This information is used by the GET /system/df endpoint, and omitted in other endpoints.

Fields

size: i64

Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the \"local\" volume driver. For volumes created with other volume drivers, this field is set to -1 ("not available")

ref_count: i64

The number of containers referencing this volume. This field is set to -1 if the reference-count is not available.

Trait Implementations

impl Clone for VolumeUsageData[src]

impl Debug for VolumeUsageData[src]

impl Default for VolumeUsageData[src]

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

impl PartialEq<VolumeUsageData> for VolumeUsageData[src]

impl Serialize for VolumeUsageData[src]

impl StructuralPartialEq for VolumeUsageData[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, 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.