pub struct ListPromptsPaginatorItems(_);
Expand description
Flattened paginator for ListPromptsPaginator
This is created with .items()
Implementations
sourceimpl ListPromptsPaginatorItems
impl ListPromptsPaginatorItems
sourcepub fn send(
self
) -> impl Stream<Item = Result<PromptSummary, SdkError<ListPromptsError>>> + Unpin
pub fn send(
self
) -> impl Stream<Item = Result<PromptSummary, SdkError<ListPromptsError>>> + Unpin
Create the pagination stream
Note: No requests will be dispatched until the stream is used (eg. with .next().await
).
To read the entirety of the paginator, use .collect::<Result<Vec<_>, _>()
.
Auto Trait Implementations
impl !RefUnwindSafe for ListPromptsPaginatorItems
impl Send for ListPromptsPaginatorItems
impl Sync for ListPromptsPaginatorItems
impl Unpin for ListPromptsPaginatorItems
impl !UnwindSafe for ListPromptsPaginatorItems
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more