podman_rest_client/v5/params/
image_prune.rs

1#[derive(Default, Debug)]
2pub struct ImagePrune<'a> {
3    /// filters to apply to image pruning, encoded as JSON (map[string][]string). Available filters:
4    ///   - `dangling=<boolean>` When set to `true` (or `1`), prune only
5    ///      unused *and* untagged images. When set to `false`
6    ///      (or `0`), all unused images are pruned.
7    ///   - `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.
8    ///   - `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.
9    pub filters: Option<&'a str>,
10}