#[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 ==.impl StructuralPartialEq for AudioAndDtmfInputSpecificationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AudioAndDtmfInputSpecificationBuilder
impl Send for AudioAndDtmfInputSpecificationBuilder
impl Sync for AudioAndDtmfInputSpecificationBuilder
impl Unpin for AudioAndDtmfInputSpecificationBuilder
impl UnwindSafe for AudioAndDtmfInputSpecificationBuilder
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