Struct aws_sdk_chime::types::PhoneNumberError
source · #[non_exhaustive]pub struct PhoneNumberError { /* private fields */ }Expand description
If the phone number action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.
Implementations§
source§impl PhoneNumberError
impl PhoneNumberError
sourcepub fn phone_number_id(&self) -> Option<&str>
pub fn phone_number_id(&self) -> Option<&str>
The phone number ID for which the action failed.
sourcepub fn error_code(&self) -> Option<&ErrorCode>
pub fn error_code(&self) -> Option<&ErrorCode>
The error code.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The error message.
source§impl PhoneNumberError
impl PhoneNumberError
sourcepub fn builder() -> PhoneNumberErrorBuilder
pub fn builder() -> PhoneNumberErrorBuilder
Creates a new builder-style object to manufacture PhoneNumberError.
Trait Implementations§
source§impl Clone for PhoneNumberError
impl Clone for PhoneNumberError
source§fn clone(&self) -> PhoneNumberError
fn clone(&self) -> PhoneNumberError
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 PhoneNumberError
impl Debug for PhoneNumberError
source§impl PartialEq<PhoneNumberError> for PhoneNumberError
impl PartialEq<PhoneNumberError> for PhoneNumberError
source§fn eq(&self, other: &PhoneNumberError) -> bool
fn eq(&self, other: &PhoneNumberError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.