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, }

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: 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 or label="key=value" of an image label
  • reference=(<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

impl<T: Clone> Clone for ListImagesOptions<T> where
    T: Into<String> + Eq + Hash + Serialize
[src]

impl<T: Debug> Debug for ListImagesOptions<T> where
    T: Into<String> + Eq + Hash + Serialize
[src]

impl<T: Default> Default for ListImagesOptions<T> where
    T: Into<String> + Eq + Hash + Serialize
[src]

impl<T> Serialize for ListImagesOptions<T> where
    T: Into<String> + Eq + Hash + Serialize
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ListImagesOptions<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for ListImagesOptions<T> where
    T: Send
[src]

impl<T> Sync for ListImagesOptions<T> where
    T: Sync
[src]

impl<T> Unpin for ListImagesOptions<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for ListImagesOptions<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.