pub struct VolumeList<'a> {
pub filters: Option<&'a str>,
}
Available on crate feature
v4
only.Fields§
§filters: Option<&'a str>
JSON encoded value of the filters (a map[string][]string) to process on the volumes list. Available filters:
- driver=
Matches volumes based on their driver. - label=
or label= : Matches volumes based on the presence of a label alone or a label and a value. - name=
Matches all of volume name. until=<timestamp>
List volumes created before this timestamp. The<timestamp>
can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g.10m
,1h30m
) computed relative to the daemon machine’s time.
Note:
The boolean dangling
filter is not yet implemented for this endpoint.
Trait Implementations§
Source§impl<'a> Debug for VolumeList<'a>
impl<'a> Debug for VolumeList<'a>
Source§impl<'a> Default for VolumeList<'a>
impl<'a> Default for VolumeList<'a>
Source§fn default() -> VolumeList<'a>
fn default() -> VolumeList<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for VolumeList<'a>
impl<'a> RefUnwindSafe for VolumeList<'a>
impl<'a> Send for VolumeList<'a>
impl<'a> Sync for VolumeList<'a>
impl<'a> Unpin for VolumeList<'a>
impl<'a> UnwindSafe for VolumeList<'a>
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