Struct docker_api::opts::ContainerPruneOptsBuilder
source · [−]pub struct ContainerPruneOptsBuilder { /* private fields */ }
Expand description
A builder struct for ContainerPruneOpts.
Implementations
sourceimpl ContainerPruneOptsBuilder
impl ContainerPruneOptsBuilder
sourcepub fn build(self) -> ContainerPruneOpts
pub fn build(self) -> ContainerPruneOpts
Finish building ContainerPruneOpts.
sourceimpl ContainerPruneOptsBuilder
impl ContainerPruneOptsBuilder
pub fn filter(
self,
filters: impl IntoIterator<Item = ContainerPruneFilter>
) -> Self
Trait Implementations
sourceimpl Clone for ContainerPruneOptsBuilder
impl Clone for ContainerPruneOptsBuilder
sourcefn clone(&self) -> ContainerPruneOptsBuilder
fn clone(&self) -> ContainerPruneOptsBuilder
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ContainerPruneOptsBuilder
impl Debug for ContainerPruneOptsBuilder
sourceimpl Default for ContainerPruneOptsBuilder
impl Default for ContainerPruneOptsBuilder
sourcefn default() -> ContainerPruneOptsBuilder
fn default() -> ContainerPruneOptsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ContainerPruneOptsBuilder
impl Send for ContainerPruneOptsBuilder
impl Sync for ContainerPruneOptsBuilder
impl Unpin for ContainerPruneOptsBuilder
impl UnwindSafe for ContainerPruneOptsBuilder
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