Struct aws_sdk_lexruntimev2::model::Value
source ·
[−]#[non_exhaustive]pub struct Value {
pub original_value: Option<String>,
pub interpreted_value: Option<String>,
pub resolved_values: Option<Vec<String>>,
}Expand description
The value of a slot.
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.original_value: Option<String>The text of the utterance from the user that was entered for the slot.
interpreted_value: Option<String>The value that Amazon Lex V2 determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in the resolvedValues list.
resolved_values: Option<Vec<String>>A list of additional values that have been recognized for the slot.
Implementations
The text of the utterance from the user that was entered for the slot.
The value that Amazon Lex V2 determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in the resolvedValues list.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
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
