Struct aws_sdk_connect::types::PhoneNumberSummary
source · #[non_exhaustive]pub struct PhoneNumberSummary {
pub id: Option<String>,
pub arn: Option<String>,
pub phone_number: Option<String>,
pub phone_number_type: Option<PhoneNumberType>,
pub phone_number_country_code: Option<PhoneNumberCountryCode>,
}
Expand description
Contains summary information about a phone number for a contact center.
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.id: Option<String>
The identifier of the phone number.
arn: Option<String>
The Amazon Resource Name (ARN) of the phone number.
phone_number: Option<String>
The phone number.
phone_number_type: Option<PhoneNumberType>
The type of phone number.
phone_number_country_code: Option<PhoneNumberCountryCode>
The ISO country code.
Implementations§
source§impl PhoneNumberSummary
impl PhoneNumberSummary
sourcepub fn phone_number(&self) -> Option<&str>
pub fn phone_number(&self) -> Option<&str>
The phone number.
sourcepub fn phone_number_type(&self) -> Option<&PhoneNumberType>
pub fn phone_number_type(&self) -> Option<&PhoneNumberType>
The type of phone number.
sourcepub fn phone_number_country_code(&self) -> Option<&PhoneNumberCountryCode>
pub fn phone_number_country_code(&self) -> Option<&PhoneNumberCountryCode>
The ISO country code.
source§impl PhoneNumberSummary
impl PhoneNumberSummary
sourcepub fn builder() -> PhoneNumberSummaryBuilder
pub fn builder() -> PhoneNumberSummaryBuilder
Creates a new builder-style object to manufacture PhoneNumberSummary
.
Trait Implementations§
source§impl Clone for PhoneNumberSummary
impl Clone for PhoneNumberSummary
source§fn clone(&self) -> PhoneNumberSummary
fn clone(&self) -> PhoneNumberSummary
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 PhoneNumberSummary
impl Debug for PhoneNumberSummary
source§impl PartialEq for PhoneNumberSummary
impl PartialEq for PhoneNumberSummary
source§fn eq(&self, other: &PhoneNumberSummary) -> bool
fn eq(&self, other: &PhoneNumberSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PhoneNumberSummary
Auto Trait Implementations§
impl Freeze for PhoneNumberSummary
impl RefUnwindSafe for PhoneNumberSummary
impl Send for PhoneNumberSummary
impl Sync for PhoneNumberSummary
impl Unpin for PhoneNumberSummary
impl UnwindSafe for PhoneNumberSummary
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.