Struct aws_sdk_sns::model::PhoneNumberInformation
source · #[non_exhaustive]pub struct PhoneNumberInformation { /* private fields */ }Expand description
A list of phone numbers and their metadata.
Implementations§
source§impl PhoneNumberInformation
impl PhoneNumberInformation
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time when the phone number was created.
sourcepub fn phone_number(&self) -> Option<&str>
pub fn phone_number(&self) -> Option<&str>
The phone number.
sourcepub fn iso2_country_code(&self) -> Option<&str>
pub fn iso2_country_code(&self) -> Option<&str>
The two-character code for the country or region, in ISO 3166-1 alpha-2 format.
sourcepub fn route_type(&self) -> Option<&RouteType>
pub fn route_type(&self) -> Option<&RouteType>
The list of supported routes.
sourcepub fn number_capabilities(&self) -> Option<&[NumberCapability]>
pub fn number_capabilities(&self) -> Option<&[NumberCapability]>
The capabilities of each phone number.
source§impl PhoneNumberInformation
impl PhoneNumberInformation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PhoneNumberInformation.
Trait Implementations§
source§impl Clone for PhoneNumberInformation
impl Clone for PhoneNumberInformation
source§fn clone(&self) -> PhoneNumberInformation
fn clone(&self) -> PhoneNumberInformation
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 PhoneNumberInformation
impl Debug for PhoneNumberInformation
source§impl PartialEq<PhoneNumberInformation> for PhoneNumberInformation
impl PartialEq<PhoneNumberInformation> for PhoneNumberInformation
source§fn eq(&self, other: &PhoneNumberInformation) -> bool
fn eq(&self, other: &PhoneNumberInformation) -> bool
This method tests for
self and other values to be equal, and is used
by ==.