#[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§
source§impl 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.
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
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<DialogCodeHookInvocationSetting> for DialogCodeHookInvocationSetting
impl PartialEq<DialogCodeHookInvocationSetting> for DialogCodeHookInvocationSetting
source§fn eq(&self, other: &DialogCodeHookInvocationSetting) -> bool
fn eq(&self, other: &DialogCodeHookInvocationSetting) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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§
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