Enum googapis::google::type::phone_number::Kind [−][src]
Expand description
Required. Either a regular number, or a short code. New fields may be added to the oneof below in the future, so clients should ignore phone numbers for which none of the fields they coded against are set.
Variants
E164Number(String)The phone number, represented as a leading plus sign (‘+’), followed by a phone number that uses a relaxed ITU E.164 format consisting of the country calling code (1 to 3 digits) and the subscriber number, with no additional spaces or formatting, e.g.:
- correct: “+15552220123”
- incorrect: “+1 (555) 222-01234 x123”.
The ITU E.164 format limits the latter to 12 digits, but in practice not all countries respect that, so we relax that restriction here. National-only numbers are not allowed.
References:
Tuple Fields of E164Number
0: StringShortCode(ShortCode)Tuple Fields of ShortCode
0: ShortCodeImplementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Kind
impl UnwindSafe for Kind
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
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