#[non_exhaustive]pub struct FulfillmentStartResponseSpecification {
pub delay_in_seconds: i32,
pub message_groups: Vec<MessageGroup>,
pub allow_interrupt: Option<bool>,
}Expand description
Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.delay_in_seconds: i32The 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.
message_groups: Vec<MessageGroup>1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.
allow_interrupt: Option<bool>Determines whether the user can interrupt the start message while it is playing.
Implementations§
source§impl FulfillmentStartResponseSpecification
impl FulfillmentStartResponseSpecification
sourcepub fn delay_in_seconds(&self) -> i32
pub fn delay_in_seconds(&self) -> 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) -> &[MessageGroup]
pub fn message_groups(&self) -> &[MessageGroup]
1 - 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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for FulfillmentStartResponseSpecification
impl PartialEq for FulfillmentStartResponseSpecification
source§fn eq(&self, other: &FulfillmentStartResponseSpecification) -> bool
fn eq(&self, other: &FulfillmentStartResponseSpecification) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FulfillmentStartResponseSpecification
Auto Trait Implementations§
impl Freeze for FulfillmentStartResponseSpecification
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more