#[non_exhaustive]pub struct ProgressiveDialerConfigBuilder { /* private fields */ }
Expand description
A builder for ProgressiveDialerConfig
.
Implementations§
source§impl ProgressiveDialerConfigBuilder
impl ProgressiveDialerConfigBuilder
sourcepub fn bandwidth_allocation(self, input: f64) -> Self
pub fn bandwidth_allocation(self, input: f64) -> Self
The bandwidth allocation of a queue resource. This field is required.
sourcepub fn set_bandwidth_allocation(self, input: Option<f64>) -> Self
pub fn set_bandwidth_allocation(self, input: Option<f64>) -> Self
The bandwidth allocation of a queue resource.
sourcepub fn get_bandwidth_allocation(&self) -> &Option<f64>
pub fn get_bandwidth_allocation(&self) -> &Option<f64>
The bandwidth allocation of a queue resource.
sourcepub fn dialing_capacity(self, input: f64) -> Self
pub fn dialing_capacity(self, input: f64) -> Self
Allocates dialing capacity for this campaign between multiple active campaigns
sourcepub fn set_dialing_capacity(self, input: Option<f64>) -> Self
pub fn set_dialing_capacity(self, input: Option<f64>) -> Self
Allocates dialing capacity for this campaign between multiple active campaigns
sourcepub fn get_dialing_capacity(&self) -> &Option<f64>
pub fn get_dialing_capacity(&self) -> &Option<f64>
Allocates dialing capacity for this campaign between multiple active campaigns
sourcepub fn build(self) -> Result<ProgressiveDialerConfig, BuildError>
pub fn build(self) -> Result<ProgressiveDialerConfig, BuildError>
Consumes the builder and constructs a ProgressiveDialerConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ProgressiveDialerConfigBuilder
impl Clone for ProgressiveDialerConfigBuilder
source§fn clone(&self) -> ProgressiveDialerConfigBuilder
fn clone(&self) -> ProgressiveDialerConfigBuilder
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 ProgressiveDialerConfigBuilder
impl Default for ProgressiveDialerConfigBuilder
source§fn default() -> ProgressiveDialerConfigBuilder
fn default() -> ProgressiveDialerConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ProgressiveDialerConfigBuilder
impl PartialEq for ProgressiveDialerConfigBuilder
source§fn eq(&self, other: &ProgressiveDialerConfigBuilder) -> bool
fn eq(&self, other: &ProgressiveDialerConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProgressiveDialerConfigBuilder
Auto Trait Implementations§
impl Freeze for ProgressiveDialerConfigBuilder
impl RefUnwindSafe for ProgressiveDialerConfigBuilder
impl Send for ProgressiveDialerConfigBuilder
impl Sync for ProgressiveDialerConfigBuilder
impl Unpin for ProgressiveDialerConfigBuilder
impl UnwindSafe for ProgressiveDialerConfigBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.