Struct aws_sdk_lexmodelsv2::types::CodeHookSpecification
source · #[non_exhaustive]pub struct CodeHookSpecification {
pub lambda_code_hook: Option<LambdaCodeHook>,
}
Expand description
Contains information about code hooks that Amazon Lex calls during a conversation.
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.lambda_code_hook: Option<LambdaCodeHook>
Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.
Implementations§
source§impl CodeHookSpecification
impl CodeHookSpecification
sourcepub fn lambda_code_hook(&self) -> Option<&LambdaCodeHook>
pub fn lambda_code_hook(&self) -> Option<&LambdaCodeHook>
Specifies a Lambda function that verifies requests to a bot or fulfills the user's request to a bot.
source§impl CodeHookSpecification
impl CodeHookSpecification
sourcepub fn builder() -> CodeHookSpecificationBuilder
pub fn builder() -> CodeHookSpecificationBuilder
Creates a new builder-style object to manufacture CodeHookSpecification
.
Trait Implementations§
source§impl Clone for CodeHookSpecification
impl Clone for CodeHookSpecification
source§fn clone(&self) -> CodeHookSpecification
fn clone(&self) -> CodeHookSpecification
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 CodeHookSpecification
impl Debug for CodeHookSpecification
source§impl PartialEq for CodeHookSpecification
impl PartialEq for CodeHookSpecification
source§fn eq(&self, other: &CodeHookSpecification) -> bool
fn eq(&self, other: &CodeHookSpecification) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CodeHookSpecification
Auto Trait Implementations§
impl RefUnwindSafe for CodeHookSpecification
impl Send for CodeHookSpecification
impl Sync for CodeHookSpecification
impl Unpin for CodeHookSpecification
impl UnwindSafe for CodeHookSpecification
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.