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 console, 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 console, 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 ==
.