pub enum PhoneFormat {
E164,
International,
National,
RFC3966,
}Expand description
Phone number format options
Variants§
E164
E.164 format: +1234567890
International
International format: +1 234 567-890
National
National format: (234) 567-890
RFC3966
RFC3966 format: tel:+1-234-567-890
Trait Implementations§
Source§impl Clone for PhoneFormat
impl Clone for PhoneFormat
Source§fn clone(&self) -> PhoneFormat
fn clone(&self) -> PhoneFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PhoneFormat
impl Debug for PhoneFormat
Source§impl PartialEq for PhoneFormat
impl PartialEq for PhoneFormat
impl Copy for PhoneFormat
impl Eq for PhoneFormat
impl StructuralPartialEq for PhoneFormat
Auto Trait Implementations§
impl Freeze for PhoneFormat
impl RefUnwindSafe for PhoneFormat
impl Send for PhoneFormat
impl Sync for PhoneFormat
impl Unpin for PhoneFormat
impl UnwindSafe for PhoneFormat
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