#[non_exhaustive]pub struct TextInputSpecificationBuilder { /* private fields */ }Expand description
A builder for TextInputSpecification.
Implementations§
source§impl TextInputSpecificationBuilder
impl TextInputSpecificationBuilder
sourcepub fn start_timeout_ms(self, input: i32) -> Self
pub fn start_timeout_ms(self, input: i32) -> Self
Time for which a bot waits before re-prompting a customer for text input.
sourcepub fn set_start_timeout_ms(self, input: Option<i32>) -> Self
pub fn set_start_timeout_ms(self, input: Option<i32>) -> Self
Time for which a bot waits before re-prompting a customer for text input.
sourcepub fn build(self) -> TextInputSpecification
pub fn build(self) -> TextInputSpecification
Consumes the builder and constructs a TextInputSpecification.
Trait Implementations§
source§impl Clone for TextInputSpecificationBuilder
impl Clone for TextInputSpecificationBuilder
source§fn clone(&self) -> TextInputSpecificationBuilder
fn clone(&self) -> TextInputSpecificationBuilder
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 Default for TextInputSpecificationBuilder
impl Default for TextInputSpecificationBuilder
source§fn default() -> TextInputSpecificationBuilder
fn default() -> TextInputSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TextInputSpecificationBuilder> for TextInputSpecificationBuilder
impl PartialEq<TextInputSpecificationBuilder> for TextInputSpecificationBuilder
source§fn eq(&self, other: &TextInputSpecificationBuilder) -> bool
fn eq(&self, other: &TextInputSpecificationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.