#[non_exhaustive]pub struct ElicitationCodeHookInvocationSetting {
pub enable_code_hook_invocation: bool,
pub invocation_label: Option<String>,
}
Expand description
Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values.
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.enable_code_hook_invocation: bool
Indicates whether a Lambda function should be invoked for the dialog.
invocation_label: Option<String>
A label that indicates the dialog step from which the dialog code hook is happening.
Implementations§
source§impl ElicitationCodeHookInvocationSetting
impl ElicitationCodeHookInvocationSetting
sourcepub fn enable_code_hook_invocation(&self) -> bool
pub fn enable_code_hook_invocation(&self) -> bool
Indicates whether a Lambda function should be invoked for the dialog.
sourcepub fn invocation_label(&self) -> Option<&str>
pub fn invocation_label(&self) -> Option<&str>
A label that indicates the dialog step from which the dialog code hook is happening.
source§impl ElicitationCodeHookInvocationSetting
impl ElicitationCodeHookInvocationSetting
sourcepub fn builder() -> ElicitationCodeHookInvocationSettingBuilder
pub fn builder() -> ElicitationCodeHookInvocationSettingBuilder
Creates a new builder-style object to manufacture ElicitationCodeHookInvocationSetting
.
Trait Implementations§
source§impl Clone for ElicitationCodeHookInvocationSetting
impl Clone for ElicitationCodeHookInvocationSetting
source§fn clone(&self) -> ElicitationCodeHookInvocationSetting
fn clone(&self) -> ElicitationCodeHookInvocationSetting
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 PartialEq for ElicitationCodeHookInvocationSetting
impl PartialEq for ElicitationCodeHookInvocationSetting
source§fn eq(&self, other: &ElicitationCodeHookInvocationSetting) -> bool
fn eq(&self, other: &ElicitationCodeHookInvocationSetting) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ElicitationCodeHookInvocationSetting
Auto Trait Implementations§
impl RefUnwindSafe for ElicitationCodeHookInvocationSetting
impl Send for ElicitationCodeHookInvocationSetting
impl Sync for ElicitationCodeHookInvocationSetting
impl Unpin for ElicitationCodeHookInvocationSetting
impl UnwindSafe for ElicitationCodeHookInvocationSetting
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.