#[non_exhaustive]pub struct ListPromptsOutputBuilder { /* private fields */ }
Expand description
A builder for ListPromptsOutput
.
Implementations§
source§impl ListPromptsOutputBuilder
impl ListPromptsOutputBuilder
sourcepub fn prompt_summary_list(self, input: PromptSummary) -> Self
pub fn prompt_summary_list(self, input: PromptSummary) -> Self
Appends an item to prompt_summary_list
.
To override the contents of this collection use set_prompt_summary_list
.
Information about the prompts.
sourcepub fn set_prompt_summary_list(self, input: Option<Vec<PromptSummary>>) -> Self
pub fn set_prompt_summary_list(self, input: Option<Vec<PromptSummary>>) -> Self
Information about the prompts.
sourcepub fn get_prompt_summary_list(&self) -> &Option<Vec<PromptSummary>>
pub fn get_prompt_summary_list(&self) -> &Option<Vec<PromptSummary>>
Information about the prompts.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If there are additional results, this is the token for the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are additional results, this is the token for the next set of results.
sourcepub fn build(self) -> ListPromptsOutput
pub fn build(self) -> ListPromptsOutput
Consumes the builder and constructs a ListPromptsOutput
.
Trait Implementations§
source§impl Clone for ListPromptsOutputBuilder
impl Clone for ListPromptsOutputBuilder
source§fn clone(&self) -> ListPromptsOutputBuilder
fn clone(&self) -> ListPromptsOutputBuilder
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 ListPromptsOutputBuilder
impl Debug for ListPromptsOutputBuilder
source§impl Default for ListPromptsOutputBuilder
impl Default for ListPromptsOutputBuilder
source§fn default() -> ListPromptsOutputBuilder
fn default() -> ListPromptsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListPromptsOutputBuilder
impl PartialEq for ListPromptsOutputBuilder
source§fn eq(&self, other: &ListPromptsOutputBuilder) -> bool
fn eq(&self, other: &ListPromptsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListPromptsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListPromptsOutputBuilder
impl RefUnwindSafe for ListPromptsOutputBuilder
impl Send for ListPromptsOutputBuilder
impl Sync for ListPromptsOutputBuilder
impl Unpin for ListPromptsOutputBuilder
impl UnwindSafe for ListPromptsOutputBuilder
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
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>
Creates a shared type from an unshared type.