pub struct Regions { /* private fields */ }
Expand description
Retreives a list of all regions.
Implementations§
Trait Implementations§
impl Pageable for Regions
Auto Trait Implementations§
impl Freeze for Regions
impl RefUnwindSafe for Regions
impl Send for Regions
impl Sync for Regions
impl Unpin for Regions
impl UnwindSafe for Regions
Blanket Implementations§
Source§impl<E, T, C> AsyncQuery<T, C> for E
impl<E, T, C> AsyncQuery<T, C> for E
Source§fn query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
) -> Pin<Box<dyn Future<Output = Result<T, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
fn query_async<'life0, 'life1, 'async_trait>(
&'life0 self,
client: &'life1 C,
) -> Pin<Box<dyn Future<Output = Result<T, ApiError<<C as RestClient>::Error>>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
E: 'async_trait,
Perform an asynchronous query against the client.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<'a, E> PagedEndpointExt<'a, E> for Ewhere
E: Endpoint + Pageable,
impl<'a, E> PagedEndpointExt<'a, E> for Ewhere
E: Endpoint + Pageable,
Source§fn iter<T, C>(&'a self, client: &'a C) -> PagedIter<'a, E, C, T> ⓘwhere
C: Client,
T: DeserializeOwned,
fn iter<T, C>(&'a self, client: &'a C) -> PagedIter<'a, E, C, T> ⓘwhere
C: Client,
T: DeserializeOwned,
Create an Iterator over the results of the paginated endpoint.
Source§fn single_page(&self) -> SinglePageBuilder<'_, E>
fn single_page(&self) -> SinglePageBuilder<'_, E>
Retrieves a single page of results for the paginated endpoint.