Struct bollard::image::ListImagesOptions [−][src]
pub struct ListImagesOptions<T> where
T: Into<String> + Eq + Hash + Serialize, {
pub all: bool,
pub filters: HashMap<T, Vec<T>>,
pub digests: bool,
}
Expand description
Parameters to the List Images API
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
Returns the “default value” for a type. Read more
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more