Struct aws_sdk_lexruntimev2::model::Intent
source ·
[−]#[non_exhaustive]pub struct Intent {
pub name: Option<String>,
pub slots: Option<HashMap<String, Slot>>,
pub state: Option<IntentState>,
pub confirmation_state: Option<ConfirmationState>,
}Expand description
The current intent that Amazon Lex V2 is attempting to fulfill.
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.name: Option<String>The name of the intent.
slots: Option<HashMap<String, Slot>>A map of all of the slots for the intent. The name of the slot maps to the value of the slot. If a slot has not been filled, the value is null.
state: Option<IntentState>Contains fulfillment information for the intent.
confirmation_state: Option<ConfirmationState>Contains information about whether fulfillment of the intent has been confirmed.
Implementations
A map of all of the slots for the intent. The name of the slot maps to the value of the slot. If a slot has not been filled, the value is null.
Contains fulfillment information for the intent.
Contains information about whether fulfillment of the intent has been confirmed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Intent
impl UnwindSafe for Intent
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
