#[non_exhaustive]pub struct AnswerMachineDetectionConfigBuilder { /* private fields */ }Expand description
A builder for AnswerMachineDetectionConfig.
Implementations§
source§impl AnswerMachineDetectionConfigBuilder
 
impl AnswerMachineDetectionConfigBuilder
sourcepub fn enable_answer_machine_detection(self, input: bool) -> Self
 
pub fn enable_answer_machine_detection(self, input: bool) -> Self
The flag to indicate if answer machine detection analysis needs to be performed for a voice call. If set to true, TrafficType must be set as CAMPAIGN. 
sourcepub fn set_enable_answer_machine_detection(self, input: Option<bool>) -> Self
 
pub fn set_enable_answer_machine_detection(self, input: Option<bool>) -> Self
The flag to indicate if answer machine detection analysis needs to be performed for a voice call. If set to true, TrafficType must be set as CAMPAIGN. 
sourcepub fn await_answer_machine_prompt(self, input: bool) -> Self
 
pub fn await_answer_machine_prompt(self, input: bool) -> Self
Wait for the answering machine prompt.
sourcepub fn set_await_answer_machine_prompt(self, input: Option<bool>) -> Self
 
pub fn set_await_answer_machine_prompt(self, input: Option<bool>) -> Self
Wait for the answering machine prompt.
sourcepub fn build(self) -> AnswerMachineDetectionConfig
 
pub fn build(self) -> AnswerMachineDetectionConfig
Consumes the builder and constructs a AnswerMachineDetectionConfig.
Trait Implementations§
source§impl Clone for AnswerMachineDetectionConfigBuilder
 
impl Clone for AnswerMachineDetectionConfigBuilder
source§fn clone(&self) -> AnswerMachineDetectionConfigBuilder
 
fn clone(&self) -> AnswerMachineDetectionConfigBuilder
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 AnswerMachineDetectionConfigBuilder
 
impl Default for AnswerMachineDetectionConfigBuilder
source§fn default() -> AnswerMachineDetectionConfigBuilder
 
fn default() -> AnswerMachineDetectionConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AnswerMachineDetectionConfigBuilder> for AnswerMachineDetectionConfigBuilder
 
impl PartialEq<AnswerMachineDetectionConfigBuilder> for AnswerMachineDetectionConfigBuilder
source§fn eq(&self, other: &AnswerMachineDetectionConfigBuilder) -> bool
 
fn eq(&self, other: &AnswerMachineDetectionConfigBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AnswerMachineDetectionConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AnswerMachineDetectionConfigBuilder
impl Send for AnswerMachineDetectionConfigBuilder
impl Sync for AnswerMachineDetectionConfigBuilder
impl Unpin for AnswerMachineDetectionConfigBuilder
impl UnwindSafe for AnswerMachineDetectionConfigBuilder
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