#[non_exhaustive]pub struct RecognizeTextInput {
pub bot_id: Option<String>,
pub bot_alias_id: Option<String>,
pub locale_id: Option<String>,
pub session_id: Option<String>,
pub text: Option<String>,
pub session_state: Option<SessionState>,
pub request_attributes: Option<HashMap<String, String>>,
}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.bot_id: Option<String>The identifier of the bot that processes the request.
bot_alias_id: Option<String>The alias identifier in use for the bot that processes the request.
locale_id: Option<String>The locale where the session is in use.
session_id: Option<String>The identifier of the user session that is having the conversation.
text: Option<String>The text that the user entered. Amazon Lex V2 interprets this text.
session_state: Option<SessionState>The current state of the dialog between the user and the bot.
request_attributes: Option<HashMap<String, String>>Request-specific information passed between the client application and Amazon Lex V2
The namespace x-amz-lex: is reserved for special attributes. Don't create any request attributes with the prefix x-amz-lex:.
Implementations§
source§impl RecognizeTextInput
impl RecognizeTextInput
sourcepub fn bot_alias_id(&self) -> Option<&str>
pub fn bot_alias_id(&self) -> Option<&str>
The alias identifier in use for the bot that processes the request.
sourcepub fn session_id(&self) -> Option<&str>
pub fn session_id(&self) -> Option<&str>
The identifier of the user session that is having the conversation.
sourcepub fn text(&self) -> Option<&str>
pub fn text(&self) -> Option<&str>
The text that the user entered. Amazon Lex V2 interprets this text.
sourcepub fn session_state(&self) -> Option<&SessionState>
pub fn session_state(&self) -> Option<&SessionState>
The current state of the dialog between the user and the bot.
source§impl RecognizeTextInput
impl RecognizeTextInput
sourcepub fn builder() -> RecognizeTextInputBuilder
pub fn builder() -> RecognizeTextInputBuilder
Creates a new builder-style object to manufacture RecognizeTextInput.
Trait Implementations§
source§impl Clone for RecognizeTextInput
impl Clone for RecognizeTextInput
source§fn clone(&self) -> RecognizeTextInput
fn clone(&self) -> RecognizeTextInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RecognizeTextInput
impl Debug for RecognizeTextInput
source§impl PartialEq for RecognizeTextInput
impl PartialEq for RecognizeTextInput
source§fn eq(&self, other: &RecognizeTextInput) -> bool
fn eq(&self, other: &RecognizeTextInput) -> bool
self and other values to be equal, and is used
by ==.