Struct aws_sdk_lexmodelsv2::types::SlotResolutionSetting
source · #[non_exhaustive]pub struct SlotResolutionSetting {
pub slot_resolution_strategy: SlotResolutionStrategy,
}Expand description
Contains information about whether assisted slot resolution is turned on for the slot or not.
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.slot_resolution_strategy: SlotResolutionStrategySpecifies whether assisted slot resolution is turned on for the slot or not. If the value is EnhancedFallback, assisted slot resolution is activated when Amazon Lex defaults to the AMAZON.FallbackIntent. If the value is Default, assisted slot resolution is turned off.
Implementations§
source§impl SlotResolutionSetting
impl SlotResolutionSetting
sourcepub fn slot_resolution_strategy(&self) -> &SlotResolutionStrategy
pub fn slot_resolution_strategy(&self) -> &SlotResolutionStrategy
Specifies whether assisted slot resolution is turned on for the slot or not. If the value is EnhancedFallback, assisted slot resolution is activated when Amazon Lex defaults to the AMAZON.FallbackIntent. If the value is Default, assisted slot resolution is turned off.
source§impl SlotResolutionSetting
impl SlotResolutionSetting
sourcepub fn builder() -> SlotResolutionSettingBuilder
pub fn builder() -> SlotResolutionSettingBuilder
Creates a new builder-style object to manufacture SlotResolutionSetting.
Trait Implementations§
source§impl Clone for SlotResolutionSetting
impl Clone for SlotResolutionSetting
source§fn clone(&self) -> SlotResolutionSetting
fn clone(&self) -> SlotResolutionSetting
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SlotResolutionSetting
impl Debug for SlotResolutionSetting
source§impl PartialEq for SlotResolutionSetting
impl PartialEq for SlotResolutionSetting
source§fn eq(&self, other: &SlotResolutionSetting) -> bool
fn eq(&self, other: &SlotResolutionSetting) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SlotResolutionSetting
Auto Trait Implementations§
impl Freeze for SlotResolutionSetting
impl RefUnwindSafe for SlotResolutionSetting
impl Send for SlotResolutionSetting
impl Sync for SlotResolutionSetting
impl Unpin for SlotResolutionSetting
impl UnwindSafe for SlotResolutionSetting
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.