pub enum ContainerPruneFilter {
Until(String),
UntilDate(DateTime<Utc>),
LabelKey(String),
Label(String, String),
}
Variants§
Until(String)
Prune containers created before this timestamp. The
UntilDate(DateTime<Utc>)
Available on crate feature
chrono
only.Prune containers created before this timestamp. Same as Until
but takes a datetime object.
LabelKey(String)
Label in the form of label=key
.
Label(String, String)
Label in the form of label=key=val
.
Trait Implementations§
Source§impl Filter for ContainerPruneFilter
impl Filter for ContainerPruneFilter
fn query_item(&self) -> FilterItem
Auto Trait Implementations§
impl Freeze for ContainerPruneFilter
impl RefUnwindSafe for ContainerPruneFilter
impl Send for ContainerPruneFilter
impl Sync for ContainerPruneFilter
impl Unpin for ContainerPruneFilter
impl UnwindSafe for ContainerPruneFilter
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