Struct aws_sdk_sns::model::PhoneNumberInformation
source · [−]#[non_exhaustive]pub struct PhoneNumberInformation {
pub created_at: Option<DateTime>,
pub phone_number: Option<String>,
pub status: Option<String>,
pub iso2_country_code: Option<String>,
pub route_type: Option<RouteType>,
pub number_capabilities: Option<Vec<NumberCapability>>,
}Expand description
A list of phone numbers and their metadata.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.created_at: Option<DateTime>The date and time when the phone number was created.
phone_number: Option<String>The phone number.
status: Option<String>The status of the phone number.
iso2_country_code: Option<String>The two-character code for the country or region, in ISO 3166-1 alpha-2 format.
route_type: Option<RouteType>The list of supported routes.
number_capabilities: Option<Vec<NumberCapability>>The capabilities of each phone number.
Implementations
sourceimpl 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.
sourceimpl PhoneNumberInformation
impl PhoneNumberInformation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PhoneNumberInformation
Trait Implementations
sourceimpl Clone for PhoneNumberInformation
impl Clone for PhoneNumberInformation
sourcefn clone(&self) -> PhoneNumberInformation
fn clone(&self) -> PhoneNumberInformation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PhoneNumberInformation
impl Debug for PhoneNumberInformation
sourceimpl PartialEq<PhoneNumberInformation> for PhoneNumberInformation
impl PartialEq<PhoneNumberInformation> for PhoneNumberInformation
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &PhoneNumberInformation) -> bool
fn ne(&self, other: &PhoneNumberInformation) -> bool
This method tests for !=.
impl StructuralPartialEq for PhoneNumberInformation
Auto Trait Implementations
impl RefUnwindSafe for PhoneNumberInformation
impl Send for PhoneNumberInformation
impl Sync for PhoneNumberInformation
impl Unpin for PhoneNumberInformation
impl UnwindSafe for PhoneNumberInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more