#[non_exhaustive]pub struct OutboundCallerConfigBuilder { /* private fields */ }
Expand description
A builder for OutboundCallerConfig
.
Implementations§
source§impl OutboundCallerConfigBuilder
impl OutboundCallerConfigBuilder
sourcepub fn outbound_caller_id_name(self, input: impl Into<String>) -> Self
pub fn outbound_caller_id_name(self, input: impl Into<String>) -> Self
The caller ID name.
sourcepub fn set_outbound_caller_id_name(self, input: Option<String>) -> Self
pub fn set_outbound_caller_id_name(self, input: Option<String>) -> Self
The caller ID name.
sourcepub fn get_outbound_caller_id_name(&self) -> &Option<String>
pub fn get_outbound_caller_id_name(&self) -> &Option<String>
The caller ID name.
sourcepub fn outbound_caller_id_number_id(self, input: impl Into<String>) -> Self
pub fn outbound_caller_id_number_id(self, input: impl Into<String>) -> Self
The caller ID number.
sourcepub fn set_outbound_caller_id_number_id(self, input: Option<String>) -> Self
pub fn set_outbound_caller_id_number_id(self, input: Option<String>) -> Self
The caller ID number.
sourcepub fn get_outbound_caller_id_number_id(&self) -> &Option<String>
pub fn get_outbound_caller_id_number_id(&self) -> &Option<String>
The caller ID number.
sourcepub fn outbound_flow_id(self, input: impl Into<String>) -> Self
pub fn outbound_flow_id(self, input: impl Into<String>) -> Self
The outbound whisper flow to be used during an outbound call.
sourcepub fn set_outbound_flow_id(self, input: Option<String>) -> Self
pub fn set_outbound_flow_id(self, input: Option<String>) -> Self
The outbound whisper flow to be used during an outbound call.
sourcepub fn get_outbound_flow_id(&self) -> &Option<String>
pub fn get_outbound_flow_id(&self) -> &Option<String>
The outbound whisper flow to be used during an outbound call.
sourcepub fn build(self) -> OutboundCallerConfig
pub fn build(self) -> OutboundCallerConfig
Consumes the builder and constructs a OutboundCallerConfig
.
Trait Implementations§
source§impl Clone for OutboundCallerConfigBuilder
impl Clone for OutboundCallerConfigBuilder
source§fn clone(&self) -> OutboundCallerConfigBuilder
fn clone(&self) -> OutboundCallerConfigBuilder
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 Debug for OutboundCallerConfigBuilder
impl Debug for OutboundCallerConfigBuilder
source§impl Default for OutboundCallerConfigBuilder
impl Default for OutboundCallerConfigBuilder
source§fn default() -> OutboundCallerConfigBuilder
fn default() -> OutboundCallerConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for OutboundCallerConfigBuilder
impl PartialEq for OutboundCallerConfigBuilder
source§fn eq(&self, other: &OutboundCallerConfigBuilder) -> bool
fn eq(&self, other: &OutboundCallerConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OutboundCallerConfigBuilder
Auto Trait Implementations§
impl Freeze for OutboundCallerConfigBuilder
impl RefUnwindSafe for OutboundCallerConfigBuilder
impl Send for OutboundCallerConfigBuilder
impl Sync for OutboundCallerConfigBuilder
impl Unpin for OutboundCallerConfigBuilder
impl UnwindSafe for OutboundCallerConfigBuilder
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
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>
Creates a shared type from an unshared type.