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