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: i32The maximum number of DTMF digits allowed in an utterance.
end_timeout_ms: i32How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
deletion_character: StringThe DTMF character that clears the accumulated DTMF digits and immediately ends the input.
end_character: StringThe 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 ==.impl StructuralPartialEq for DtmfSpecification
Auto Trait Implementations§
impl Freeze for DtmfSpecification
impl RefUnwindSafe for DtmfSpecification
impl Send for DtmfSpecification
impl Sync for DtmfSpecification
impl Unpin for DtmfSpecification
impl UnwindSafe for DtmfSpecification
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more