Enum docker_api::opts::ContainerPruneFilter
source · [−]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
sourceimpl Filter for ContainerPruneFilter
impl Filter for ContainerPruneFilter
fn query_item(&self) -> FilterItem
Auto Trait Implementations
impl RefUnwindSafe for ContainerPruneFilter
impl Send for ContainerPruneFilter
impl Sync for ContainerPruneFilter
impl Unpin for ContainerPruneFilter
impl UnwindSafe for ContainerPruneFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more