#[non_exhaustive]pub struct DescribePromptOutputBuilder { /* private fields */ }
Expand description
A builder for DescribePromptOutput
.
Implementations§
source§impl DescribePromptOutputBuilder
impl DescribePromptOutputBuilder
sourcepub fn set_prompt(self, input: Option<Prompt>) -> Self
pub fn set_prompt(self, input: Option<Prompt>) -> Self
Information about the prompt.
sourcepub fn get_prompt(&self) -> &Option<Prompt>
pub fn get_prompt(&self) -> &Option<Prompt>
Information about the prompt.
sourcepub fn build(self) -> DescribePromptOutput
pub fn build(self) -> DescribePromptOutput
Consumes the builder and constructs a DescribePromptOutput
.
Trait Implementations§
source§impl Clone for DescribePromptOutputBuilder
impl Clone for DescribePromptOutputBuilder
source§fn clone(&self) -> DescribePromptOutputBuilder
fn clone(&self) -> DescribePromptOutputBuilder
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 DescribePromptOutputBuilder
impl Debug for DescribePromptOutputBuilder
source§impl Default for DescribePromptOutputBuilder
impl Default for DescribePromptOutputBuilder
source§fn default() -> DescribePromptOutputBuilder
fn default() -> DescribePromptOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribePromptOutputBuilder
impl PartialEq for DescribePromptOutputBuilder
source§fn eq(&self, other: &DescribePromptOutputBuilder) -> bool
fn eq(&self, other: &DescribePromptOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribePromptOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribePromptOutputBuilder
impl RefUnwindSafe for DescribePromptOutputBuilder
impl Send for DescribePromptOutputBuilder
impl Sync for DescribePromptOutputBuilder
impl Unpin for DescribePromptOutputBuilder
impl UnwindSafe for DescribePromptOutputBuilder
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.