Struct bollard::volume::ListVolumesOptions
source · pub struct ListVolumesOptions<T>{
pub filters: HashMap<T, Vec<T>>,
}
Expand description
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§
source§impl<T> Clone for ListVolumesOptions<T>
impl<T> Clone for ListVolumesOptions<T>
source§fn clone(&self) -> ListVolumesOptions<T>
fn clone(&self) -> ListVolumesOptions<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T> Debug for ListVolumesOptions<T>
impl<T> Debug for ListVolumesOptions<T>
source§impl<T> Default for ListVolumesOptions<T>
impl<T> Default for ListVolumesOptions<T>
source§fn default() -> ListVolumesOptions<T>
fn default() -> ListVolumesOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq for ListVolumesOptions<T>
impl<T> PartialEq for ListVolumesOptions<T>
source§impl<T> Serialize for ListVolumesOptions<T>
impl<T> Serialize for ListVolumesOptions<T>
impl<T> StructuralPartialEq for ListVolumesOptions<T>
Auto Trait Implementations§
impl<T> Freeze for ListVolumesOptions<T>
impl<T> RefUnwindSafe for ListVolumesOptions<T>where
T: RefUnwindSafe,
impl<T> Send for ListVolumesOptions<T>where
T: Send,
impl<T> Sync for ListVolumesOptions<T>where
T: Sync,
impl<T> Unpin for ListVolumesOptions<T>where
T: Unpin,
impl<T> UnwindSafe for ListVolumesOptions<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)