Struct aws_sdk_lexmodelsv2::model::DtmfSpecification
source · #[non_exhaustive]pub struct DtmfSpecification { /* private fields */ }Expand description
Specifies the DTMF input specifications.
Implementations§
source§impl DtmfSpecification
impl DtmfSpecification
sourcepub fn max_length(&self) -> Option<i32>
pub fn max_length(&self) -> Option<i32>
The maximum number of DTMF digits allowed in an utterance.
sourcepub fn end_timeout_ms(&self) -> Option<i32>
pub fn end_timeout_ms(&self) -> Option<i32>
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
sourcepub fn deletion_character(&self) -> Option<&str>
pub fn deletion_character(&self) -> Option<&str>
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
sourcepub fn end_character(&self) -> Option<&str>
pub fn end_character(&self) -> Option<&str>
The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
source§impl DtmfSpecification
impl DtmfSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DtmfSpecification.
Trait Implementations§
source§impl Clone for DtmfSpecification
impl Clone for DtmfSpecification
source§fn clone(&self) -> DtmfSpecification
fn clone(&self) -> DtmfSpecification
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 DtmfSpecification
impl Debug for DtmfSpecification
source§impl PartialEq<DtmfSpecification> for DtmfSpecification
impl PartialEq<DtmfSpecification> for DtmfSpecification
source§fn eq(&self, other: &DtmfSpecification) -> bool
fn eq(&self, other: &DtmfSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.