#[non_exhaustive]pub struct DialogCodeHookInvocationSetting {
pub enable_code_hook_invocation: bool,
pub active: bool,
pub invocation_label: Option<String>,
pub post_code_hook_specification: Option<PostDialogCodeHookInvocationSpecification>,
}
Expand description
Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
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.enable_code_hook_invocation: bool
Indicates whether a Lambda function should be invoked for the dialog.
active: bool
Determines whether a dialog code hook is used when the intent is activated.
invocation_label: Option<String>
A label that indicates the dialog step from which the dialog code hook is happening.
post_code_hook_specification: Option<PostDialogCodeHookInvocationSpecification>
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
Implementations§
source§impl DialogCodeHookInvocationSetting
impl DialogCodeHookInvocationSetting
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 active(&self) -> bool
pub fn active(&self) -> bool
Determines whether a dialog code hook is used when the intent is activated.
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.
sourcepub fn post_code_hook_specification(
&self
) -> Option<&PostDialogCodeHookInvocationSpecification>
pub fn post_code_hook_specification( &self ) -> Option<&PostDialogCodeHookInvocationSpecification>
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
source§impl DialogCodeHookInvocationSetting
impl DialogCodeHookInvocationSetting
sourcepub fn builder() -> DialogCodeHookInvocationSettingBuilder
pub fn builder() -> DialogCodeHookInvocationSettingBuilder
Creates a new builder-style object to manufacture DialogCodeHookInvocationSetting
.
Trait Implementations§
source§impl Clone for DialogCodeHookInvocationSetting
impl Clone for DialogCodeHookInvocationSetting
source§fn clone(&self) -> DialogCodeHookInvocationSetting
fn clone(&self) -> DialogCodeHookInvocationSetting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DialogCodeHookInvocationSetting
impl PartialEq for DialogCodeHookInvocationSetting
source§fn eq(&self, other: &DialogCodeHookInvocationSetting) -> bool
fn eq(&self, other: &DialogCodeHookInvocationSetting) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DialogCodeHookInvocationSetting
Auto Trait Implementations§
impl Freeze for DialogCodeHookInvocationSetting
impl RefUnwindSafe for DialogCodeHookInvocationSetting
impl Send for DialogCodeHookInvocationSetting
impl Sync for DialogCodeHookInvocationSetting
impl Unpin for DialogCodeHookInvocationSetting
impl UnwindSafe for DialogCodeHookInvocationSetting
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more