Struct openstack::image::ImageQuery [] [src]

pub struct ImageQuery<'session> { /* fields omitted */ }

A query to image list.

Methods

impl<'session> ImageQuery<'session>
[src]

[src]

Add sorting to the request.

[src]

Add marker to the request.

Using this disables automatic pagination.

[src]

Add limit to the request.

Using this disables automatic pagination.

[src]

Filter by image name.

[src]

Filter by image status.

[src]

Filter by visibility.

[src]

Convert this query into an iterator executing the request.

Returns a FallibleIterator, which is an iterator with each next call returning a Result.

Note that no requests are done until you start iterating.

[src]

Execute this request and return all results.

A convenience shortcut for self.into_iter().collect().

[src]

Return one and exactly one result.

Fails with ResourceNotFound if the query produces no results and with TooManyItems if the query produces more than one result.

Trait Implementations

impl<'session> Clone for ImageQuery<'session>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'session> Debug for ImageQuery<'session>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'session> IntoFallibleIterator for ImageQuery<'session>
[src]

The elements of the iterator.

The error value of the iterator.

The iterator.

[src]

Creates a fallible iterator from a value.

Auto Trait Implementations

impl<'session> !Send for ImageQuery<'session>

impl<'session> !Sync for ImageQuery<'session>