#[non_exhaustive]pub struct FulfillmentStartResponseSpecification { /* private fields */ }Expand description
Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.
Implementations§
source§impl FulfillmentStartResponseSpecification
impl FulfillmentStartResponseSpecification
sourcepub fn delay_in_seconds(&self) -> Option<i32>
pub fn delay_in_seconds(&self) -> Option<i32>
The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn't played.
sourcepub fn message_groups(&self) -> Option<&[MessageGroup]>
pub fn message_groups(&self) -> Option<&[MessageGroup]>
One to 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
sourcepub fn allow_interrupt(&self) -> Option<bool>
pub fn allow_interrupt(&self) -> Option<bool>
Determines whether the user can interrupt the start message while it is playing.
source§impl FulfillmentStartResponseSpecification
impl FulfillmentStartResponseSpecification
sourcepub fn builder() -> FulfillmentStartResponseSpecificationBuilder
pub fn builder() -> FulfillmentStartResponseSpecificationBuilder
Creates a new builder-style object to manufacture FulfillmentStartResponseSpecification.
Trait Implementations§
source§impl Clone for FulfillmentStartResponseSpecification
impl Clone for FulfillmentStartResponseSpecification
source§fn clone(&self) -> FulfillmentStartResponseSpecification
fn clone(&self) -> FulfillmentStartResponseSpecification
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<FulfillmentStartResponseSpecification> for FulfillmentStartResponseSpecification
impl PartialEq<FulfillmentStartResponseSpecification> for FulfillmentStartResponseSpecification
source§fn eq(&self, other: &FulfillmentStartResponseSpecification) -> bool
fn eq(&self, other: &FulfillmentStartResponseSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FulfillmentStartResponseSpecification
Auto Trait Implementations§
impl RefUnwindSafe for FulfillmentStartResponseSpecification
impl Send for FulfillmentStartResponseSpecification
impl Sync for FulfillmentStartResponseSpecification
impl Unpin for FulfillmentStartResponseSpecification
impl UnwindSafe for FulfillmentStartResponseSpecification
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