pub trait Page {
type Item;
type IntoIter: Iterator<Item = Self::Item>;
// Required method
fn into_items<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Self::IntoIter>> + Send + 'async_trait>>
where Self: 'async_trait;
}Expand description
Represents a single page of items returned by a collection request to a service.
Required Associated Types§
Sourcetype IntoIter: Iterator<Item = Self::Item>
type IntoIter: Iterator<Item = Self::Item>
The type containing items in the collection e.g., Vec<Self::Item>.