podman_rest_client/v5/params/network_prune.rs
1#[derive(Default, Debug)]
2pub struct NetworkPrune<'a> {
3 /// Filters to process on the prune list, encoded as JSON (a map[string][]string).
4 /// Available filters:
5 /// - `until=<timestamp>` Prune networks 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.
6 /// - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune networks with (or without, in case `label!=...` is used) the specified labels.
7 pub filters: Option<&'a str>,
8}