Struct aws_sdk_lexruntimev2::output::RecognizeTextOutput
source ·
[−]#[non_exhaustive]pub struct RecognizeTextOutput {
pub messages: Option<Vec<Message>>,
pub session_state: Option<SessionState>,
pub interpretations: Option<Vec<Interpretation>>,
pub request_attributes: Option<HashMap<String, String>>,
pub session_id: Option<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.messages: Option<Vec<Message>>A list of messages last sent to the user. The messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot.
session_state: Option<SessionState>Represents the current state of the dialog between the user and the bot.
Use this to determine the progress of the conversation and what the next action may be.
interpretations: Option<Vec<Interpretation>>A list of intents that Amazon Lex V2 determined might satisfy the user's utterance.
Each interpretation includes the intent, a score that indicates now confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
request_attributes: Option<HashMap<String, String>>The attributes sent in the request.
session_id: Option<String>The identifier of the session in use.
Implementations
A list of messages last sent to the user. The messages are ordered based on the order that you returned the messages from your Lambda function or the order that the messages are defined in the bot.
Represents the current state of the dialog between the user and the bot.
Use this to determine the progress of the conversation and what the next action may be.
A list of intents that Amazon Lex V2 determined might satisfy the user's utterance.
Each interpretation includes the intent, a score that indicates now confident Amazon Lex V2 is that the interpretation is the correct one, and an optional sentiment response that indicates the sentiment expressed in the utterance.
The attributes sent in the request.
The identifier of the session in use.
Creates a new builder-style object to manufacture RecognizeTextOutput
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for RecognizeTextOutput
impl Send for RecognizeTextOutput
impl Sync for RecognizeTextOutput
impl Unpin for RecognizeTextOutput
impl UnwindSafe for RecognizeTextOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
