pub struct ImageListOptsBuilder { /* private fields */ }
Expand description
A builder struct for ImageListOpts.
Implementations§
Source§impl ImageListOptsBuilder
impl ImageListOptsBuilder
Sourcepub fn build(self) -> ImageListOpts
pub fn build(self) -> ImageListOpts
Finish building ImageListOpts.
Source§impl ImageListOptsBuilder
impl ImageListOptsBuilder
Sourcepub fn all(self, all: bool) -> Self
pub fn all(self, all: bool) -> Self
Show all images. Only images from a final layer (no children) are shown by default.
Sourcepub fn digests(self, digests: bool) -> Self
pub fn digests(self, digests: bool) -> Self
Show digest information as a RepoDigests field on each image.
Compute and show shared size as a SharedSize field on each image.
Sourcepub fn filter(self, filters: impl IntoIterator<Item = ImageFilter>) -> Self
pub fn filter(self, filters: impl IntoIterator<Item = ImageFilter>) -> Self
Filter the listed images by one of the variants of the enum.
Trait Implementations§
Source§impl Clone for ImageListOptsBuilder
impl Clone for ImageListOptsBuilder
Source§fn clone(&self) -> ImageListOptsBuilder
fn clone(&self) -> ImageListOptsBuilder
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 ImageListOptsBuilder
impl Debug for ImageListOptsBuilder
Source§impl Default for ImageListOptsBuilder
impl Default for ImageListOptsBuilder
Source§fn default() -> ImageListOptsBuilder
fn default() -> ImageListOptsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ImageListOptsBuilder
impl RefUnwindSafe for ImageListOptsBuilder
impl Send for ImageListOptsBuilder
impl Sync for ImageListOptsBuilder
impl Unpin for ImageListOptsBuilder
impl UnwindSafe for ImageListOptsBuilder
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