pub struct ImagesRemoveOptsBuilder { /* private fields */ }
Expand description
A builder struct for ImagesRemoveOpts.
Implementations§
Source§impl ImagesRemoveOptsBuilder
impl ImagesRemoveOptsBuilder
Sourcepub fn build(self) -> ImagesRemoveOpts
pub fn build(self) -> ImagesRemoveOpts
Finish building ImagesRemoveOpts.
Source§impl ImagesRemoveOptsBuilder
impl ImagesRemoveOptsBuilder
Sourcepub fn force(self, force: bool) -> Self
pub fn force(self, force: bool) -> Self
Force image removal (including containers using the images).
Sourcepub fn ignore(self, ignore: bool) -> Self
pub fn ignore(self, ignore: bool) -> Self
Ignore if a specified image does not exist and do not throw an error.
Sourcepub fn images<S>(self, images: impl IntoIterator<Item = S>) -> Self
pub fn images<S>(self, images: impl IntoIterator<Item = S>) -> Self
Images IDs or names to remove.
Sourcepub fn lookup_manifest(self, lookup_manifest: bool) -> Self
pub fn lookup_manifest(self, lookup_manifest: bool) -> Self
Resolves to manifest list instead of image.
Trait Implementations§
Source§impl Clone for ImagesRemoveOptsBuilder
impl Clone for ImagesRemoveOptsBuilder
Source§fn clone(&self) -> ImagesRemoveOptsBuilder
fn clone(&self) -> ImagesRemoveOptsBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ImagesRemoveOptsBuilder
impl Debug for ImagesRemoveOptsBuilder
Source§impl Default for ImagesRemoveOptsBuilder
impl Default for ImagesRemoveOptsBuilder
Source§fn default() -> ImagesRemoveOptsBuilder
fn default() -> ImagesRemoveOptsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImagesRemoveOptsBuilder
impl RefUnwindSafe for ImagesRemoveOptsBuilder
impl Send for ImagesRemoveOptsBuilder
impl Sync for ImagesRemoveOptsBuilder
impl Unpin for ImagesRemoveOptsBuilder
impl UnwindSafe for ImagesRemoveOptsBuilder
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