Struct aws_sdk_lexmodelsv2::types::SlotValue
source · #[non_exhaustive]pub struct SlotValue {
pub interpreted_value: Option<String>,
}
Expand description
The value to set in a slot.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.interpreted_value: Option<String>
The value that Amazon Lex 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 choose the first value in the resolvedValues
list.
Implementations§
source§impl SlotValue
impl SlotValue
sourcepub fn interpreted_value(&self) -> Option<&str>
pub fn interpreted_value(&self) -> Option<&str>
The value that Amazon Lex 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 choose the first value in the resolvedValues
list.
Trait Implementations§
source§impl PartialEq for SlotValue
impl PartialEq for SlotValue
impl StructuralPartialEq for SlotValue
Auto Trait Implementations§
impl RefUnwindSafe for SlotValue
impl Send for SlotValue
impl Sync for SlotValue
impl Unpin for SlotValue
impl UnwindSafe for SlotValue
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.