Enum phonenumber::Mode
[−]
[src]
pub enum Mode { E164, International, National, Rfc3966, }
Formatting modes for phone number.
Variants
E164
E.164 formatting, no spaces, no decorations.
International
International formatting, contains country code and country dependent formatting.
National
National formatting, no country code and country dependent formatting.
Rfc3966
RFC3966 formatting, see the RFC.
Trait Implementations
impl Copy for Mode
[src]
impl Clone for Mode
[src]
fn clone(&self) -> Mode
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for Mode
[src]
impl PartialEq for Mode
[src]
fn eq(&self, __arg_0: &Mode) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.