Struct aws_sdk_chime::types::PhoneNumberCountry
source · #[non_exhaustive]pub struct PhoneNumberCountry { /* private fields */ }Expand description
The phone number country.
Implementations§
source§impl PhoneNumberCountry
impl PhoneNumberCountry
sourcepub fn country_code(&self) -> Option<&str>
pub fn country_code(&self) -> Option<&str>
The phone number country code. Format: ISO 3166-1 alpha-2.
sourcepub fn supported_phone_number_types(&self) -> Option<&[PhoneNumberType]>
pub fn supported_phone_number_types(&self) -> Option<&[PhoneNumberType]>
The supported phone number types.
source§impl PhoneNumberCountry
impl PhoneNumberCountry
sourcepub fn builder() -> PhoneNumberCountryBuilder
pub fn builder() -> PhoneNumberCountryBuilder
Creates a new builder-style object to manufacture PhoneNumberCountry.
Trait Implementations§
source§impl Clone for PhoneNumberCountry
impl Clone for PhoneNumberCountry
source§fn clone(&self) -> PhoneNumberCountry
fn clone(&self) -> PhoneNumberCountry
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 PhoneNumberCountry
impl Debug for PhoneNumberCountry
source§impl PartialEq<PhoneNumberCountry> for PhoneNumberCountry
impl PartialEq<PhoneNumberCountry> for PhoneNumberCountry
source§fn eq(&self, other: &PhoneNumberCountry) -> bool
fn eq(&self, other: &PhoneNumberCountry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PhoneNumberCountry
Auto Trait Implementations§
impl RefUnwindSafe for PhoneNumberCountry
impl Send for PhoneNumberCountry
impl Sync for PhoneNumberCountry
impl Unpin for PhoneNumberCountry
impl UnwindSafe for PhoneNumberCountry
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