pub struct SubnetQuery { /* private fields */ }
Expand description

A query to subnet list.

Implementations

Add marker to the request.

Using this disables automatic pagination.

Add limit to the request.

Using this disables automatic pagination.

Add sorting to the request.

Filter by CIDR.

Filter by CIDR.

Filter by description.

Filter by description.

Filter by whether DHCP is enabled.

Filter by whether DHCP is enabled.

Filter by gateway IP.

Filter by gateway IP.

Filter by IPv6 address assignment mode.

Filter by IPv6 address assignment mode.

Filter by IPv6 router advertisement mode.

Filter by IPv6 router advertisement mode.

Filter by subnet name.

Filter by subnet name.

Filter by network.

Filter by network.

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.

Execute this request and return all results.

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

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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
The elements of the iterator.
The error value of the iterator.
The iterator.
Creates a fallible iterator from a value.
Item type.
Default limit to use with this query.
Whether pagination is supported for this query.
Extract a marker from a resource.
Get a chunk of resources.
Validate the query before the first execution. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.