Struct aws_sdk_connect::types::UserPhoneConfig
source · #[non_exhaustive]pub struct UserPhoneConfig {
pub phone_type: PhoneType,
pub auto_accept: bool,
pub after_contact_work_time_limit: i32,
pub desk_phone_number: Option<String>,
}
Expand description
Contains information about the phone configuration settings for a user.
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.phone_type: PhoneType
The phone type.
auto_accept: bool
The Auto accept setting.
after_contact_work_time_limit: i32
The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a SearchUsers
call, AfterContactWorkTimeLimit
is returned in milliseconds.
desk_phone_number: Option<String>
The phone number for the user's desk phone.
Implementations§
source§impl UserPhoneConfig
impl UserPhoneConfig
sourcepub fn phone_type(&self) -> &PhoneType
pub fn phone_type(&self) -> &PhoneType
The phone type.
sourcepub fn auto_accept(&self) -> bool
pub fn auto_accept(&self) -> bool
The Auto accept setting.
sourcepub fn after_contact_work_time_limit(&self) -> i32
pub fn after_contact_work_time_limit(&self) -> i32
The After Call Work (ACW) timeout setting, in seconds. This parameter has a minimum value of 0 and a maximum value of 2,000,000 seconds (24 days). Enter 0 if you don't want to allocate a specific amount of ACW time. It essentially means an indefinite amount of time. When the conversation ends, ACW starts; the agent must choose Close contact to end ACW.
When returned by a SearchUsers
call, AfterContactWorkTimeLimit
is returned in milliseconds.
sourcepub fn desk_phone_number(&self) -> Option<&str>
pub fn desk_phone_number(&self) -> Option<&str>
The phone number for the user's desk phone.
source§impl UserPhoneConfig
impl UserPhoneConfig
sourcepub fn builder() -> UserPhoneConfigBuilder
pub fn builder() -> UserPhoneConfigBuilder
Creates a new builder-style object to manufacture UserPhoneConfig
.
Trait Implementations§
source§impl Clone for UserPhoneConfig
impl Clone for UserPhoneConfig
source§fn clone(&self) -> UserPhoneConfig
fn clone(&self) -> UserPhoneConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserPhoneConfig
impl Debug for UserPhoneConfig
source§impl PartialEq for UserPhoneConfig
impl PartialEq for UserPhoneConfig
source§fn eq(&self, other: &UserPhoneConfig) -> bool
fn eq(&self, other: &UserPhoneConfig) -> bool
self
and other
values to be equal, and is used
by ==
.