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 Copy for Mode
impl Clone for Mode
[src]
impl Clone for Mode
fn clone(&self) -> Mode
[src]
fn clone(&self) -> Mode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for Mode
[src]
impl Eq for Mode
impl PartialEq for Mode
[src]
impl PartialEq for Mode
fn eq(&self, other: &Mode) -> bool
[src]
fn eq(&self, other: &Mode) -> bool
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]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for Mode
[src]
impl Debug for Mode