Struct aws_sdk_chime::types::PhoneNumber
source · #[non_exhaustive]pub struct PhoneNumber { /* private fields */ }Expand description
A phone number used for Amazon Chime Business Calling or an Amazon Chime Voice Connector.
Implementations§
source§impl PhoneNumber
impl PhoneNumber
sourcepub fn phone_number_id(&self) -> Option<&str>
pub fn phone_number_id(&self) -> Option<&str>
The phone number ID.
sourcepub fn e164_phone_number(&self) -> Option<&str>
pub fn e164_phone_number(&self) -> Option<&str>
The phone number, in E.164 format.
sourcepub fn type(&self) -> Option<&PhoneNumberType>
pub fn type(&self) -> Option<&PhoneNumberType>
The phone number type.
sourcepub fn product_type(&self) -> Option<&PhoneNumberProductType>
pub fn product_type(&self) -> Option<&PhoneNumberProductType>
The phone number product type.
sourcepub fn status(&self) -> Option<&PhoneNumberStatus>
pub fn status(&self) -> Option<&PhoneNumberStatus>
The phone number status.
sourcepub fn capabilities(&self) -> Option<&PhoneNumberCapabilities>
pub fn capabilities(&self) -> Option<&PhoneNumberCapabilities>
The phone number capabilities.
sourcepub fn associations(&self) -> Option<&[PhoneNumberAssociation]>
pub fn associations(&self) -> Option<&[PhoneNumberAssociation]>
The phone number associations.
sourcepub fn calling_name(&self) -> Option<&str>
pub fn calling_name(&self) -> Option<&str>
The outbound calling name associated with the phone number.
sourcepub fn calling_name_status(&self) -> Option<&CallingNameStatus>
pub fn calling_name_status(&self) -> Option<&CallingNameStatus>
The outbound calling name status.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The phone number creation timestamp, in ISO 8601 format.
sourcepub fn updated_timestamp(&self) -> Option<&DateTime>
pub fn updated_timestamp(&self) -> Option<&DateTime>
The updated phone number timestamp, in ISO 8601 format.
sourcepub fn deletion_timestamp(&self) -> Option<&DateTime>
pub fn deletion_timestamp(&self) -> Option<&DateTime>
The deleted phone number timestamp, in ISO 8601 format.
source§impl PhoneNumber
impl PhoneNumber
sourcepub fn builder() -> PhoneNumberBuilder
pub fn builder() -> PhoneNumberBuilder
Creates a new builder-style object to manufacture PhoneNumber.
Trait Implementations§
source§impl Clone for PhoneNumber
impl Clone for PhoneNumber
source§fn clone(&self) -> PhoneNumber
fn clone(&self) -> PhoneNumber
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 PhoneNumber
impl Debug for PhoneNumber
source§impl PartialEq<PhoneNumber> for PhoneNumber
impl PartialEq<PhoneNumber> for PhoneNumber
source§fn eq(&self, other: &PhoneNumber) -> bool
fn eq(&self, other: &PhoneNumber) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PhoneNumber
Auto Trait Implementations§
impl RefUnwindSafe for PhoneNumber
impl Send for PhoneNumber
impl Sync for PhoneNumber
impl Unpin for PhoneNumber
impl UnwindSafe for PhoneNumber
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