#[non_exhaustive]pub struct AudioAndDtmfInputSpecificationBuilder { /* private fields */ }Expand description
A builder for AudioAndDtmfInputSpecification.
Implementations§
source§impl AudioAndDtmfInputSpecificationBuilder
impl AudioAndDtmfInputSpecificationBuilder
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 assuming that the customer isn't going to speak or press a key. This timeout is shared between Audio and DTMF inputs.
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 assuming that the customer isn't going to speak or press a key. This timeout is shared between Audio and DTMF inputs.
sourcepub fn audio_specification(self, input: AudioSpecification) -> Self
pub fn audio_specification(self, input: AudioSpecification) -> Self
Specifies the settings on audio input.
sourcepub fn set_audio_specification(self, input: Option<AudioSpecification>) -> Self
pub fn set_audio_specification(self, input: Option<AudioSpecification>) -> Self
Specifies the settings on audio input.
sourcepub fn dtmf_specification(self, input: DtmfSpecification) -> Self
pub fn dtmf_specification(self, input: DtmfSpecification) -> Self
Specifies the settings on DTMF input.
sourcepub fn set_dtmf_specification(self, input: Option<DtmfSpecification>) -> Self
pub fn set_dtmf_specification(self, input: Option<DtmfSpecification>) -> Self
Specifies the settings on DTMF input.
sourcepub fn build(self) -> AudioAndDtmfInputSpecification
pub fn build(self) -> AudioAndDtmfInputSpecification
Consumes the builder and constructs a AudioAndDtmfInputSpecification.
Trait Implementations§
source§impl Clone for AudioAndDtmfInputSpecificationBuilder
impl Clone for AudioAndDtmfInputSpecificationBuilder
source§fn clone(&self) -> AudioAndDtmfInputSpecificationBuilder
fn clone(&self) -> AudioAndDtmfInputSpecificationBuilder
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 AudioAndDtmfInputSpecificationBuilder
impl Default for AudioAndDtmfInputSpecificationBuilder
source§fn default() -> AudioAndDtmfInputSpecificationBuilder
fn default() -> AudioAndDtmfInputSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AudioAndDtmfInputSpecificationBuilder> for AudioAndDtmfInputSpecificationBuilder
impl PartialEq<AudioAndDtmfInputSpecificationBuilder> for AudioAndDtmfInputSpecificationBuilder
source§fn eq(&self, other: &AudioAndDtmfInputSpecificationBuilder) -> bool
fn eq(&self, other: &AudioAndDtmfInputSpecificationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.