Struct bollard::image::ListImagesOptions
source · pub struct ListImagesOptions<T>{
pub all: bool,
pub filters: HashMap<T, Vec<T>>,
pub digests: bool,
}
Expand description
Parameters to the [List Images
§Examples
use bollard::image::ListImagesOptions;
use std::collections::HashMap;
use std::default::Default;
let mut filters = HashMap::new();
filters.insert("dangling", vec!["true"]);
ListImagesOptions{
all: true,
filters,
..Default::default()
};
ListImagesOptions::<String>{
..Default::default()
};
Fields§
§all: bool
Show all images. Only images from a final layer (no children) are shown by default.
filters: HashMap<T, Vec<T>>
A JSON encoded value of the filters to process on the images list. Available filters:
before
=(<image-name>[:<tag>]
,<image id>
or<image@digest>
)dangling
=true
label
=key
orlabel
="key=value"
of an image labelreference
=(<image-name>[:<tag>]
)since
=(<image-name>[:<tag>]
,<image id>
or<image@digest>
)
digests: bool
Show digest information as a RepoDigests field on each image.
Trait Implementations§
source§impl<T> Clone for ListImagesOptions<T>
impl<T> Clone for ListImagesOptions<T>
source§fn clone(&self) -> ListImagesOptions<T>
fn clone(&self) -> ListImagesOptions<T>
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<T> Debug for ListImagesOptions<T>
impl<T> Debug for ListImagesOptions<T>
source§impl<T> Default for ListImagesOptions<T>
impl<T> Default for ListImagesOptions<T>
source§fn default() -> ListImagesOptions<T>
fn default() -> ListImagesOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq for ListImagesOptions<T>
impl<T> PartialEq for ListImagesOptions<T>
source§impl<T> Serialize for ListImagesOptions<T>
impl<T> Serialize for ListImagesOptions<T>
impl<T> StructuralPartialEq for ListImagesOptions<T>
Auto Trait Implementations§
impl<T> Freeze for ListImagesOptions<T>
impl<T> RefUnwindSafe for ListImagesOptions<T>where
T: RefUnwindSafe,
impl<T> Send for ListImagesOptions<T>where
T: Send,
impl<T> Sync for ListImagesOptions<T>where
T: Sync,
impl<T> Unpin for ListImagesOptions<T>where
T: Unpin,
impl<T> UnwindSafe for ListImagesOptions<T>where
T: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)