pub struct ImagePruneLibpod<'a> {
    pub all: Option<bool>,
    pub external: Option<bool>,
    pub filters: Option<&'a str>,
}Available on crate feature 
v5 only.Fields§
§all: Option<bool>Remove all images not in use by containers, not just dangling ones
external: Option<bool>Remove images even when they are used by external containers (e.g, by build containers)
filters: Option<&'a str>filters to apply to image pruning, encoded as JSON (map[string][]string). Available filters:
- dangling=<boolean>When set to- true(or- 1), prune only unused and untagged images. When set to- false(or- 0), all unused images are pruned.
- until=<string>Prune images 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>, or- label!=<key>=<value>) Prune images with (or without, in case- label!=...is used) the specified labels.
Trait Implementations§
Source§impl<'a> Debug for ImagePruneLibpod<'a>
 
impl<'a> Debug for ImagePruneLibpod<'a>
Source§impl<'a> Default for ImagePruneLibpod<'a>
 
impl<'a> Default for ImagePruneLibpod<'a>
Source§fn default() -> ImagePruneLibpod<'a>
 
fn default() -> ImagePruneLibpod<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ImagePruneLibpod<'a>
impl<'a> RefUnwindSafe for ImagePruneLibpod<'a>
impl<'a> Send for ImagePruneLibpod<'a>
impl<'a> Sync for ImagePruneLibpod<'a>
impl<'a> Unpin for ImagePruneLibpod<'a>
impl<'a> UnwindSafe for ImagePruneLibpod<'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