#[repr(transparent)]pub struct PhoneNumberParseResult(pub i32);
Expand description
Required features: "Globalization_PhoneNumberFormatting"
Tuple Fields
0: i32
Implementations
impl PhoneNumberParseResult
impl PhoneNumberParseResult
pub const Valid: Self = Self(0i32)
pub const NotANumber: Self = Self(1i32)
pub const InvalidCountryCode: Self = Self(2i32)
pub const TooShort: Self = Self(3i32)
pub const TooLong: Self = Self(4i32)
Trait Implementations
impl Clone for PhoneNumberParseResult
impl Clone for PhoneNumberParseResult
impl Copy for PhoneNumberParseResult
Auto Trait Implementations
impl RefUnwindSafe for PhoneNumberParseResult
impl Send for PhoneNumberParseResult
impl Sync for PhoneNumberParseResult
impl Unpin for PhoneNumberParseResult
impl UnwindSafe for PhoneNumberParseResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more