Enum phonenumber::Mode
source · pub enum Mode {
E164,
International,
National,
Rfc3966,
}
Expand description
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§
source§impl PartialEq<Mode> for Mode
impl PartialEq<Mode> for Mode
impl Copy for Mode
impl Eq for Mode
impl StructuralEq for Mode
impl StructuralPartialEq for Mode
Auto Trait Implementations§
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more