Struct aws_sdk_connect::types::QuickConnectConfig
source · #[non_exhaustive]pub struct QuickConnectConfig {
pub quick_connect_type: QuickConnectType,
pub user_config: Option<UserQuickConnectConfig>,
pub queue_config: Option<QueueQuickConnectConfig>,
pub phone_config: Option<PhoneNumberQuickConnectConfig>,
}
Expand description
Contains configuration settings for a quick connect.
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.quick_connect_type: QuickConnectType
The type of quick connect. In the Amazon Connect admin website, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
user_config: Option<UserQuickConnectConfig>
The user configuration. This is required only if QuickConnectType is USER.
queue_config: Option<QueueQuickConnectConfig>
The queue configuration. This is required only if QuickConnectType is QUEUE.
phone_config: Option<PhoneNumberQuickConnectConfig>
The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.
Implementations§
source§impl QuickConnectConfig
impl QuickConnectConfig
sourcepub fn quick_connect_type(&self) -> &QuickConnectType
pub fn quick_connect_type(&self) -> &QuickConnectType
The type of quick connect. In the Amazon Connect admin website, when you create a quick connect, you are prompted to assign one of the following types: Agent (USER), External (PHONE_NUMBER), or Queue (QUEUE).
sourcepub fn user_config(&self) -> Option<&UserQuickConnectConfig>
pub fn user_config(&self) -> Option<&UserQuickConnectConfig>
The user configuration. This is required only if QuickConnectType is USER.
sourcepub fn queue_config(&self) -> Option<&QueueQuickConnectConfig>
pub fn queue_config(&self) -> Option<&QueueQuickConnectConfig>
The queue configuration. This is required only if QuickConnectType is QUEUE.
sourcepub fn phone_config(&self) -> Option<&PhoneNumberQuickConnectConfig>
pub fn phone_config(&self) -> Option<&PhoneNumberQuickConnectConfig>
The phone configuration. This is required only if QuickConnectType is PHONE_NUMBER.
source§impl QuickConnectConfig
impl QuickConnectConfig
sourcepub fn builder() -> QuickConnectConfigBuilder
pub fn builder() -> QuickConnectConfigBuilder
Creates a new builder-style object to manufacture QuickConnectConfig
.
Trait Implementations§
source§impl Clone for QuickConnectConfig
impl Clone for QuickConnectConfig
source§fn clone(&self) -> QuickConnectConfig
fn clone(&self) -> QuickConnectConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QuickConnectConfig
impl Debug for QuickConnectConfig
source§impl PartialEq for QuickConnectConfig
impl PartialEq for QuickConnectConfig
source§fn eq(&self, other: &QuickConnectConfig) -> bool
fn eq(&self, other: &QuickConnectConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for QuickConnectConfig
Auto Trait Implementations§
impl Freeze for QuickConnectConfig
impl RefUnwindSafe for QuickConnectConfig
impl Send for QuickConnectConfig
impl Sync for QuickConnectConfig
impl Unpin for QuickConnectConfig
impl UnwindSafe for QuickConnectConfig
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