Struct bollard::volume::ListVolumesOptions [−][src]
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 totrue
(or1
), returns all volumes that are not in use by a container. When set tofalse
(or0
), 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>
orlabel=<key>:<value>
Matches volumes based on the presence of alabel
alone or alabel
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]
T: Into<String> + Eq + Hash + Serialize,
fn clone(&self) -> ListVolumesOptions<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug> Debug for ListVolumesOptions<T> where
T: Into<String> + Eq + Hash + Serialize,
[src]
T: Into<String> + Eq + Hash + Serialize,
impl<T: Default> Default for ListVolumesOptions<T> where
T: Into<String> + Eq + Hash + Serialize,
[src]
T: Into<String> + Eq + Hash + Serialize,
fn default() -> ListVolumesOptions<T>
[src]
impl<T> Serialize for ListVolumesOptions<T> where
T: Into<String> + Eq + Hash + Serialize,
[src]
T: Into<String> + Eq + Hash + Serialize,
Auto Trait Implementations
impl<T> RefUnwindSafe for ListVolumesOptions<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for ListVolumesOptions<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for ListVolumesOptions<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for ListVolumesOptions<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for ListVolumesOptions<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,