pub struct List { /* private fields */ }
Expand description
Provides streams of pages of types::APIKeyList, or of types::APIKey directly.
Implementations§
Source§impl List
impl List
Sourcepub async fn pages(
self,
) -> impl Stream<Item = Result<APIKeyList, Error>> + Unpin
pub async fn pages( self, ) -> impl Stream<Item = Result<APIKeyList, Error>> + Unpin
Iterate over types::APIKeyList.
See Tokio Streams documentation for more info on usage.
Sourcepub async fn keys(self) -> impl Stream<Item = Result<APIKey, Error>> + Unpin
pub async fn keys(self) -> impl Stream<Item = Result<APIKey, Error>> + Unpin
Iterate over types::APIKey items.
See Tokio Streams documentation for more info on usage.
Auto Trait Implementations§
impl Freeze for List
impl !RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl !UnwindSafe for List
Blanket Implementations§
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