Struct aws_sdk_connect::types::MediaConcurrency
source · #[non_exhaustive]pub struct MediaConcurrency {
pub channel: Channel,
pub concurrency: i32,
pub cross_channel_behavior: Option<CrossChannelBehavior>,
}
Expand description
Contains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.channel: Channel
The channels that agents can handle in the Contact Control Panel (CCP).
concurrency: i32
The number of contacts an agent can have on a channel simultaneously.
Valid Range for VOICE
: Minimum value of 1. Maximum value of 1.
Valid Range for CHAT
: Minimum value of 1. Maximum value of 10.
Valid Range for TASK
: Minimum value of 1. Maximum value of 10.
cross_channel_behavior: Option<CrossChannelBehavior>
Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
Implementations§
source§impl MediaConcurrency
impl MediaConcurrency
sourcepub fn channel(&self) -> &Channel
pub fn channel(&self) -> &Channel
The channels that agents can handle in the Contact Control Panel (CCP).
sourcepub fn concurrency(&self) -> i32
pub fn concurrency(&self) -> i32
The number of contacts an agent can have on a channel simultaneously.
Valid Range for VOICE
: Minimum value of 1. Maximum value of 1.
Valid Range for CHAT
: Minimum value of 1. Maximum value of 10.
Valid Range for TASK
: Minimum value of 1. Maximum value of 10.
sourcepub fn cross_channel_behavior(&self) -> Option<&CrossChannelBehavior>
pub fn cross_channel_behavior(&self) -> Option<&CrossChannelBehavior>
Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.
source§impl MediaConcurrency
impl MediaConcurrency
sourcepub fn builder() -> MediaConcurrencyBuilder
pub fn builder() -> MediaConcurrencyBuilder
Creates a new builder-style object to manufacture MediaConcurrency
.
Trait Implementations§
source§impl Clone for MediaConcurrency
impl Clone for MediaConcurrency
source§fn clone(&self) -> MediaConcurrency
fn clone(&self) -> MediaConcurrency
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MediaConcurrency
impl Debug for MediaConcurrency
source§impl PartialEq for MediaConcurrency
impl PartialEq for MediaConcurrency
source§fn eq(&self, other: &MediaConcurrency) -> bool
fn eq(&self, other: &MediaConcurrency) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MediaConcurrency
Auto Trait Implementations§
impl Freeze for MediaConcurrency
impl RefUnwindSafe for MediaConcurrency
impl Send for MediaConcurrency
impl Sync for MediaConcurrency
impl Unpin for MediaConcurrency
impl UnwindSafe for MediaConcurrency
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
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>
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>
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 more