Enum phonenumber::Type[][src]

pub enum Type {
    FixedLine,
    Mobile,
    FixedLineOrMobile,
    TollFree,
    PremiumRate,
    SharedCost,
    PersonalNumber,
    Voip,
    Pager,
    Uan,
    Emergency,
    Voicemail,
    ShortCode,
    StandardRate,
    Carrier,
    NoInternational,
    Unknown,
}

The phone number type.

Variants

In some regions (e.g. the USA), it is impossible to distinguish between fixed-line and mobile numbers by looking at the phone number itself.

Freephone lines.

The cost of this call is shared between the caller and the recipient, and is hence typically less than PREMIUM_RATE calls. See // http://en.wikipedia.org/wiki/Shared_Cost_Service for more information.

A personal number is associated with a particular person, and may be routed to either a MOBILE or FIXED_LINE number. Some more information can be found here: http://en.wikipedia.org/wiki/Personal_Numbers

Voice over IP numbers. This includes TSoIP (Telephony Service over IP).

Used for "Universal Access Numbers" or "Company Numbers". They may be further routed to specific offices, but allow one number to be used for a company.

Used for "Voice Mail Access Numbers".

A phone number is of type UNKNOWN when it does not fit any of the known patterns for a specific region.

Trait Implementations

impl Copy for Type
[src]

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Type
[src]

impl PartialEq for Type
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Type
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Type

impl Sync for Type