pub struct ImageSearch<'a> {
pub term: Option<&'a str>,
pub limit: Option<i64>,
pub filters: Option<&'a str>,
pub tls_verify: Option<bool>,
pub list_tags: Option<bool>,
}
Available on crate feature
v5
only.Fields§
§term: Option<&'a str>
term to search
limit: Option<i64>
maximum number of results
filters: Option<&'a str>
A JSON encoded value of the filters (a map[string][]string
) to process on the images list. Available filters:
is-automated=(true|false)
is-official=(true|false)
stars=<number>
Matches images that have at least ‘number’ stars.
tls_verify: Option<bool>
Require HTTPS and verify signatures when contacting registries.
list the available tags in the repository
Trait Implementations§
Source§impl<'a> Debug for ImageSearch<'a>
impl<'a> Debug for ImageSearch<'a>
Source§impl<'a> Default for ImageSearch<'a>
impl<'a> Default for ImageSearch<'a>
Source§fn default() -> ImageSearch<'a>
fn default() -> ImageSearch<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ImageSearch<'a>
impl<'a> RefUnwindSafe for ImageSearch<'a>
impl<'a> Send for ImageSearch<'a>
impl<'a> Sync for ImageSearch<'a>
impl<'a> Unpin for ImageSearch<'a>
impl<'a> UnwindSafe for ImageSearch<'a>
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