#[non_exhaustive]pub struct FulfillmentCodeHookSettings { /* private fields */ }Expand description
Determines if a Lambda function should be invoked for a specific intent.
Implementations§
source§impl FulfillmentCodeHookSettings
impl FulfillmentCodeHookSettings
sourcepub fn enabled(&self) -> bool
pub fn enabled(&self) -> bool
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
sourcepub fn post_fulfillment_status_specification(
&self
) -> Option<&PostFulfillmentStatusSpecification>
pub fn post_fulfillment_status_specification(
&self
) -> Option<&PostFulfillmentStatusSpecification>
Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
sourcepub fn fulfillment_updates_specification(
&self
) -> Option<&FulfillmentUpdatesSpecification>
pub fn fulfillment_updates_specification(
&self
) -> Option<&FulfillmentUpdatesSpecification>
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.
source§impl FulfillmentCodeHookSettings
impl FulfillmentCodeHookSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FulfillmentCodeHookSettings.
Trait Implementations§
source§impl Clone for FulfillmentCodeHookSettings
impl Clone for FulfillmentCodeHookSettings
source§fn clone(&self) -> FulfillmentCodeHookSettings
fn clone(&self) -> FulfillmentCodeHookSettings
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 FulfillmentCodeHookSettings
impl Debug for FulfillmentCodeHookSettings
source§impl PartialEq<FulfillmentCodeHookSettings> for FulfillmentCodeHookSettings
impl PartialEq<FulfillmentCodeHookSettings> for FulfillmentCodeHookSettings
source§fn eq(&self, other: &FulfillmentCodeHookSettings) -> bool
fn eq(&self, other: &FulfillmentCodeHookSettings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.