#[non_exhaustive]pub struct PromptAttemptSpecification { /* private fields */ }Expand description
Specifies the settings on a prompt attempt.
Implementations§
source§impl PromptAttemptSpecification
impl PromptAttemptSpecification
sourcepub fn allow_interrupt(&self) -> Option<bool>
pub fn allow_interrupt(&self) -> Option<bool>
Indicates whether the user can interrupt a speech prompt attempt from the bot.
sourcepub fn allowed_input_types(&self) -> Option<&AllowedInputTypes>
pub fn allowed_input_types(&self) -> Option<&AllowedInputTypes>
Indicates the allowed input types of the prompt attempt.
sourcepub fn audio_and_dtmf_input_specification(
&self
) -> Option<&AudioAndDtmfInputSpecification>
pub fn audio_and_dtmf_input_specification(
&self
) -> Option<&AudioAndDtmfInputSpecification>
Specifies the settings on audio and DTMF input.
sourcepub fn text_input_specification(&self) -> Option<&TextInputSpecification>
pub fn text_input_specification(&self) -> Option<&TextInputSpecification>
Specifies the settings on text input.
source§impl PromptAttemptSpecification
impl PromptAttemptSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PromptAttemptSpecification.
Trait Implementations§
source§impl Clone for PromptAttemptSpecification
impl Clone for PromptAttemptSpecification
source§fn clone(&self) -> PromptAttemptSpecification
fn clone(&self) -> PromptAttemptSpecification
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 PromptAttemptSpecification
impl Debug for PromptAttemptSpecification
source§impl PartialEq<PromptAttemptSpecification> for PromptAttemptSpecification
impl PartialEq<PromptAttemptSpecification> for PromptAttemptSpecification
source§fn eq(&self, other: &PromptAttemptSpecification) -> bool
fn eq(&self, other: &PromptAttemptSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.