Struct aws_sdk_chime::model::PhoneNumberError [−][src]
#[non_exhaustive]pub struct PhoneNumberError {
pub phone_number_id: Option<String>,
pub error_code: Option<ErrorCode>,
pub error_message: Option<String>,
}
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.phone_number_id: Option<String>
The phone number ID for which the action failed.
error_code: Option<ErrorCode>
The error code.
error_message: Option<String>
The error message.
Implementations
The phone number ID for which the action failed.
The error code.
The error message.
Creates a new builder-style object to manufacture PhoneNumberError
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PhoneNumberError
impl Send for PhoneNumberError
impl Sync for PhoneNumberError
impl Unpin for PhoneNumberError
impl UnwindSafe for PhoneNumberError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more