#[non_exhaustive]pub struct PromptAttemptSpecification { /* private fields */ }Expand description
Specifies the settings on a prompt attempt.
Implementations
sourceimpl 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.
sourceimpl PromptAttemptSpecification
impl PromptAttemptSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PromptAttemptSpecification.
Trait Implementations
sourceimpl Clone for PromptAttemptSpecification
impl Clone for PromptAttemptSpecification
sourcefn clone(&self) -> PromptAttemptSpecification
fn clone(&self) -> PromptAttemptSpecification
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PromptAttemptSpecification
impl Debug for PromptAttemptSpecification
sourceimpl PartialEq<PromptAttemptSpecification> for PromptAttemptSpecification
impl PartialEq<PromptAttemptSpecification> for PromptAttemptSpecification
sourcefn eq(&self, other: &PromptAttemptSpecification) -> bool
fn eq(&self, other: &PromptAttemptSpecification) -> bool
impl StructuralPartialEq for PromptAttemptSpecification
Auto Trait Implementations
impl RefUnwindSafe for PromptAttemptSpecification
impl Send for PromptAttemptSpecification
impl Sync for PromptAttemptSpecification
impl Unpin for PromptAttemptSpecification
impl UnwindSafe for PromptAttemptSpecification
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