Enum phonenumber::Mode[][src]

pub enum Mode {
    E164,
    International,
    National,
    Rfc3966,
}

Formatting modes for phone number.

Variants

E.164 formatting, no spaces, no decorations.

International formatting, contains country code and country dependent formatting.

National formatting, no country code and country dependent formatting.

RFC3966 formatting, see the RFC.

Trait Implementations

impl Copy for Mode
[src]

impl Clone for Mode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Mode
[src]

impl PartialEq for Mode
[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 Mode
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Mode

impl Sync for Mode