podman_rest_client/v4/params/
image_prune_libpod.rs

1#[derive(Default, Debug)]
2pub struct ImagePruneLibpod<'a> {
3    /// Remove all images not in use by containers, not just dangling ones
4    pub all: Option<bool>,
5    /// Remove images even when they are used by external containers (e.g, by build containers)
6    pub external: Option<bool>,
7    /// filters to apply to image pruning, encoded as JSON (map[string][]string). Available filters:
8    ///   - `dangling=<boolean>` When set to `true` (or `1`), prune only
9    ///      unused *and* untagged images. When set to `false`
10    ///      (or `0`), all unused images are pruned.
11    ///   - `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.
12    ///   - `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.
13    pub filters: Option<&'a str>,
14}