#[non_exhaustive]pub struct DialogCodeHookInvocationSetting { /* private fields */ }Expand description
Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
Implementations
sourceimpl DialogCodeHookInvocationSetting
impl DialogCodeHookInvocationSetting
sourcepub fn enable_code_hook_invocation(&self) -> Option<bool>
pub fn enable_code_hook_invocation(&self) -> Option<bool>
Indicates whether a Lambda function should be invoked for the dialog.
sourcepub fn active(&self) -> Option<bool>
pub fn active(&self) -> Option<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.
sourceimpl DialogCodeHookInvocationSetting
impl DialogCodeHookInvocationSetting
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DialogCodeHookInvocationSetting.
Trait Implementations
sourceimpl Clone for DialogCodeHookInvocationSetting
impl Clone for DialogCodeHookInvocationSetting
sourcefn clone(&self) -> DialogCodeHookInvocationSetting
fn clone(&self) -> DialogCodeHookInvocationSetting
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl PartialEq<DialogCodeHookInvocationSetting> for DialogCodeHookInvocationSetting
impl PartialEq<DialogCodeHookInvocationSetting> for DialogCodeHookInvocationSetting
sourcefn eq(&self, other: &DialogCodeHookInvocationSetting) -> bool
fn eq(&self, other: &DialogCodeHookInvocationSetting) -> bool
impl StructuralPartialEq for DialogCodeHookInvocationSetting
Auto Trait Implementations
impl RefUnwindSafe for DialogCodeHookInvocationSetting
impl Send for DialogCodeHookInvocationSetting
impl Sync for DialogCodeHookInvocationSetting
impl Unpin for DialogCodeHookInvocationSetting
impl UnwindSafe for DialogCodeHookInvocationSetting
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more