Struct aws_sdk_lexruntimev2::model::Slot
source ·
[−]#[non_exhaustive]pub struct Slot {
pub value: Option<Value>,
pub shape: Option<Shape>,
pub values: Option<Vec<Slot>>,
}Expand description
A value that Amazon Lex V2 uses to fulfill an intent.
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.value: Option<Value>The current value of the slot.
shape: Option<Shape>When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.
values: Option<Vec<Slot>>A list of one or more values that the user provided for the slot. For example, if a for a slot that elicits pizza toppings, the values might be "pepperoni" and "pineapple."
Implementations
When the shape value is List, it indicates that the values field contains a list of slot values. When the value is Scalar, it indicates that the value field contains a single value.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Slot
impl UnwindSafe for Slot
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
