Struct bollard::volume::ListVolumesOptions[][src]

pub struct ListVolumesOptions<T> where
    T: Into<String> + Eq + Hash + Serialize
{ pub filters: HashMap<T, Vec<T>>, }

Parameters used in the List Volume API

Fields

filters: HashMap<T, Vec<T>>

JSON encoded value of the filters (a map[string][]string) to process on the volumes list. Available filters:

  • dangling=<boolean> When set to true (or 1), returns all volumes that are not in use by a container. When set to false (or 0), only volumes that are in use by one or more containers are returned.
  • driver=<volume-driver-name> Matches volumes based on their driver.
  • label=<key> or label=<key>:<value> Matches volumes based on the presence of a label alone or a label and a value.
  • name=<volume-name> Matches all or part of a volume name.

Trait Implementations

impl<T: Clone> Clone for ListVolumesOptions<T> where
    T: Into<String> + Eq + Hash + Serialize
[src]

impl<T: Debug> Debug for ListVolumesOptions<T> where
    T: Into<String> + Eq + Hash + Serialize
[src]

impl<T: Default> Default for ListVolumesOptions<T> where
    T: Into<String> + Eq + Hash + Serialize
[src]

impl<T> Serialize for ListVolumesOptions<T> where
    T: Into<String> + Eq + Hash + Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ListVolumesOptions<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for ListVolumesOptions<T> where
    T: Send
[src]

impl<T> Sync for ListVolumesOptions<T> where
    T: Sync
[src]

impl<T> Unpin for ListVolumesOptions<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for ListVolumesOptions<T> where
    T: UnwindSafe
[src]

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