Struct aws_sdk_pinpoint::model::NumberValidateResponse
source · [−]#[non_exhaustive]pub struct NumberValidateResponse {Show 14 fields
pub carrier: Option<String>,
pub city: Option<String>,
pub cleansed_phone_number_e164: Option<String>,
pub cleansed_phone_number_national: Option<String>,
pub country: Option<String>,
pub country_code_iso2: Option<String>,
pub country_code_numeric: Option<String>,
pub county: Option<String>,
pub original_country_code_iso2: Option<String>,
pub original_phone_number: Option<String>,
pub phone_type: Option<String>,
pub phone_type_code: i32,
pub timezone: Option<String>,
pub zip_code: Option<String>,
}
Expand description
Provides information about a phone number.
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.carrier: Option<String>
The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.
city: Option<String>
The name of the city where the phone number was originally registered.
cleansed_phone_number_e164: Option<String>
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
cleansed_phone_number_national: Option<String>
The cleansed phone number, in the format for the location where the phone number was originally registered.
country: Option<String>
The name of the country or region where the phone number was originally registered.
country_code_iso2: Option<String>
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
country_code_numeric: Option<String>
The numeric code for the country or region where the phone number was originally registered.
county: Option<String>
The name of the county where the phone number was originally registered.
original_country_code_iso2: Option<String>
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
original_phone_number: Option<String>
The phone number that was sent in the request body.
phone_type: Option<String>
The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.
phone_type_code: i32
The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
timezone: Option<String>
The time zone for the location where the phone number was originally registered.
zip_code: Option<String>
The postal or ZIP code for the location where the phone number was originally registered.
Implementations
The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.
The name of the city where the phone number was originally registered.
The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.
The cleansed phone number, in the format for the location where the phone number was originally registered.
The name of the country or region where the phone number was originally registered.
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.
The numeric code for the country or region where the phone number was originally registered.
The name of the county where the phone number was originally registered.
The two-character code, in ISO 3166-1 alpha-2 format, that was sent in the request body.
The phone number that was sent in the request body.
The description of the phone type. Valid values are: MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.
The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).
The time zone for the location where the phone number was originally registered.
Creates a new builder-style object to manufacture NumberValidateResponse
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 NumberValidateResponse
impl Send for NumberValidateResponse
impl Sync for NumberValidateResponse
impl Unpin for NumberValidateResponse
impl UnwindSafe for NumberValidateResponse
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