Struct openstack::compute::DetailedServerQuery
source · pub struct DetailedServerQuery { /* private fields */ }
Expand description
A detailed query to server list.
Is constructed from a ServerQuery
.
Implementations§
source§impl DetailedServerQuery
impl DetailedServerQuery
sourcepub fn into_stream(self) -> impl Stream<Item = Result<Server>>
pub fn into_stream(self) -> impl Stream<Item = Result<Server>>
Convert this query into a stream executing the request.
This stream yields full Server
objects.
Returns a TryStream
, which is a stream with each next
call returning a Result
.
Note that no requests are done until you start iterating.
Trait Implementations§
source§impl Clone for DetailedServerQuery
impl Clone for DetailedServerQuery
source§fn clone(&self) -> DetailedServerQuery
fn clone(&self) -> DetailedServerQuery
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DetailedServerQuery
impl Debug for DetailedServerQuery
source§impl From<DetailedServerQuery> for ServerQuery
impl From<DetailedServerQuery> for ServerQuery
source§fn from(value: DetailedServerQuery) -> ServerQuery
fn from(value: DetailedServerQuery) -> ServerQuery
Converts to this type from the input type.
source§impl From<ServerQuery> for DetailedServerQuery
impl From<ServerQuery> for DetailedServerQuery
source§fn from(value: ServerQuery) -> DetailedServerQuery
fn from(value: ServerQuery) -> DetailedServerQuery
Converts to this type from the input type.
source§impl ResourceQuery for DetailedServerQuery
impl ResourceQuery for DetailedServerQuery
source§const DEFAULT_LIMIT: usize = 50usize
const DEFAULT_LIMIT: usize = 50usize
Default limit to use with this query.
source§fn can_paginate<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn can_paginate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Whether pagination is supported for this query.
source§fn extract_marker(&self, resource: &Self::Item) -> String
fn extract_marker(&self, resource: &Self::Item) -> String
Extract a marker from a resource.