Struct aws_sdk_lexmodelsv2::types::DtmfSpecification
source · #[non_exhaustive]pub struct DtmfSpecification {
pub max_length: i32,
pub end_timeout_ms: i32,
pub deletion_character: String,
pub end_character: String,
}
Expand description
Specifies the DTMF input specifications.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max_length: i32
The maximum number of DTMF digits allowed in an utterance.
end_timeout_ms: i32
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
deletion_character: String
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
end_character: String
The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
Implementations§
source§impl DtmfSpecification
impl DtmfSpecification
sourcepub fn max_length(&self) -> i32
pub fn max_length(&self) -> i32
The maximum number of DTMF digits allowed in an utterance.
sourcepub fn end_timeout_ms(&self) -> i32
pub fn end_timeout_ms(&self) -> 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) -> &str
pub fn deletion_character(&self) -> &str
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
sourcepub fn end_character(&self) -> &str
pub fn end_character(&self) -> &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() -> DtmfSpecificationBuilder
pub fn builder() -> DtmfSpecificationBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DtmfSpecification
impl Debug for DtmfSpecification
source§impl PartialEq for DtmfSpecification
impl PartialEq for DtmfSpecification
source§fn eq(&self, other: &DtmfSpecification) -> bool
fn eq(&self, other: &DtmfSpecification) -> bool
self
and other
values to be equal, and is used
by ==
.