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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
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.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserPhoneConfig
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.