#[repr(transparent)]pub struct PhoneNumberParseResult(pub i32);
Tuple Fields§
§0: i32
Implementations§
§impl PhoneNumberParseResult
impl PhoneNumberParseResult
pub const Valid: Self = _
pub const NotANumber: Self = _
pub const InvalidCountryCode: Self = _
pub const TooShort: Self = _
pub const TooLong: Self = _
Trait Implementations§
§impl Clone for PhoneNumberParseResult
impl Clone for PhoneNumberParseResult
§fn clone(&self) -> PhoneNumberParseResult
fn clone(&self) -> PhoneNumberParseResult
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 more§impl Debug for PhoneNumberParseResult
impl Debug for PhoneNumberParseResult
§impl Default for PhoneNumberParseResult
impl Default for PhoneNumberParseResult
§fn default() -> PhoneNumberParseResult
fn default() -> PhoneNumberParseResult
Returns the “default value” for a type. Read more
§impl PartialEq for PhoneNumberParseResult
impl PartialEq for PhoneNumberParseResult
§fn eq(&self, other: &PhoneNumberParseResult) -> bool
fn eq(&self, other: &PhoneNumberParseResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PhoneNumberParseResult
impl Eq for PhoneNumberParseResult
impl StructuralPartialEq for PhoneNumberParseResult
Auto Trait Implementations§
impl Freeze for PhoneNumberParseResult
impl RefUnwindSafe for PhoneNumberParseResult
impl Send for PhoneNumberParseResult
impl Sync for PhoneNumberParseResult
impl Unpin for PhoneNumberParseResult
impl UnwindSafe for PhoneNumberParseResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)