Struct phonenumber::NationalNumber
source · pub struct NationalNumber { /* private fields */ }
Expand description
The national number part of a phone number.
Implementations§
Trait Implementations§
source§impl Clone for NationalNumber
impl Clone for NationalNumber
source§fn clone(&self) -> NationalNumber
fn clone(&self) -> NationalNumber
Returns a copy 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 NationalNumber
impl Debug for NationalNumber
source§impl<'de> Deserialize<'de> for NationalNumber
impl<'de> Deserialize<'de> for NationalNumber
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for NationalNumber
impl Display for NationalNumber
source§impl From<NationalNumber> for u64
impl From<NationalNumber> for u64
source§fn from(n: NationalNumber) -> u64
fn from(n: NationalNumber) -> u64
Converts to this type from the input type.
source§impl Hash for NationalNumber
impl Hash for NationalNumber
source§impl PartialEq<NationalNumber> for NationalNumber
impl PartialEq<NationalNumber> for NationalNumber
source§fn eq(&self, other: &NationalNumber) -> bool
fn eq(&self, other: &NationalNumber) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NationalNumber
impl Serialize for NationalNumber
impl Copy for NationalNumber
impl Eq for NationalNumber
impl StructuralEq for NationalNumber
impl StructuralPartialEq for NationalNumber
Auto Trait Implementations§
impl RefUnwindSafe for NationalNumber
impl Send for NationalNumber
impl Sync for NationalNumber
impl Unpin for NationalNumber
impl UnwindSafe for NationalNumber
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