pub struct VolumePrune<'a> {
pub filters: Option<&'a str>,
}Available on crate feature
v5 only.Fields§
§filters: Option<&'a str>JSON encoded value of filters (a map[string][]string) to match volumes against before pruning. Available filters:
until=<timestamp>Prune 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.label(label=<key>,label=<key>=<value>,label!=<key>, orlabel!=<key>=<value>) Prune volumes with (or without, in caselabel!=...is used) the specified labels.
Trait Implementations§
Source§impl<'a> Debug for VolumePrune<'a>
impl<'a> Debug for VolumePrune<'a>
Source§impl<'a> Default for VolumePrune<'a>
impl<'a> Default for VolumePrune<'a>
Source§fn default() -> VolumePrune<'a>
fn default() -> VolumePrune<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for VolumePrune<'a>
impl<'a> RefUnwindSafe for VolumePrune<'a>
impl<'a> Send for VolumePrune<'a>
impl<'a> Sync for VolumePrune<'a>
impl<'a> Unpin for VolumePrune<'a>
impl<'a> UnwindSafe for VolumePrune<'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