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 ==
.impl StructuralPartialEq for UserPhoneConfig
Auto Trait Implementations§
impl Freeze for UserPhoneConfig
impl RefUnwindSafe for UserPhoneConfig
impl Send for UserPhoneConfig
impl Sync for UserPhoneConfig
impl Unpin for UserPhoneConfig
impl UnwindSafe for UserPhoneConfig
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