Struct aws_sdk_lexruntimev2::types::DtmfInputEvent  
source · #[non_exhaustive]pub struct DtmfInputEvent {
    pub input_character: String,
    pub event_id: Option<String>,
    pub client_timestamp_millis: i64,
}Expand description
A DTMF character sent from the client application. DTMF characters are typically sent from a phone keypad to represent numbers. For example, you can have Amazon Lex V2 process a credit card number input from a phone.
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.input_character: StringThe DTMF character that the user pressed. The allowed characters are A - D, 0 - 9, # and *.
event_id: Option<String>A unique identifier that your application assigns to the event. You can use this to identify events in logs.
client_timestamp_millis: i64A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
Implementations§
source§impl DtmfInputEvent
 
impl DtmfInputEvent
sourcepub fn input_character(&self) -> &str
 
pub fn input_character(&self) -> &str
The DTMF character that the user pressed. The allowed characters are A - D, 0 - 9, # and *.
sourcepub fn event_id(&self) -> Option<&str>
 
pub fn event_id(&self) -> Option<&str>
A unique identifier that your application assigns to the event. You can use this to identify events in logs.
sourcepub fn client_timestamp_millis(&self) -> i64
 
pub fn client_timestamp_millis(&self) -> i64
A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
source§impl DtmfInputEvent
 
impl DtmfInputEvent
sourcepub fn builder() -> DtmfInputEventBuilder
 
pub fn builder() -> DtmfInputEventBuilder
Creates a new builder-style object to manufacture DtmfInputEvent.
Trait Implementations§
source§impl Clone for DtmfInputEvent
 
impl Clone for DtmfInputEvent
source§fn clone(&self) -> DtmfInputEvent
 
fn clone(&self) -> DtmfInputEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DtmfInputEvent
 
impl Debug for DtmfInputEvent
source§impl PartialEq for DtmfInputEvent
 
impl PartialEq for DtmfInputEvent
source§fn eq(&self, other: &DtmfInputEvent) -> bool
 
fn eq(&self, other: &DtmfInputEvent) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DtmfInputEvent
Auto Trait Implementations§
impl Freeze for DtmfInputEvent
impl RefUnwindSafe for DtmfInputEvent
impl Send for DtmfInputEvent
impl Sync for DtmfInputEvent
impl Unpin for DtmfInputEvent
impl UnwindSafe for DtmfInputEvent
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> 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