pub struct NetworkPrune<'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 networks created before this timestamp. The- 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 networks with (or without, in case- label!=...is used) the specified labels.
Trait Implementations§
Source§impl<'a> Debug for NetworkPrune<'a>
 
impl<'a> Debug for NetworkPrune<'a>
Source§impl<'a> Default for NetworkPrune<'a>
 
impl<'a> Default for NetworkPrune<'a>
Source§fn default() -> NetworkPrune<'a>
 
fn default() -> NetworkPrune<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for NetworkPrune<'a>
impl<'a> RefUnwindSafe for NetworkPrune<'a>
impl<'a> Send for NetworkPrune<'a>
impl<'a> Sync for NetworkPrune<'a>
impl<'a> Unpin for NetworkPrune<'a>
impl<'a> UnwindSafe for NetworkPrune<'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