pub struct PhoneNumberAnalysis {
pub original: String,
pub is_valid: bool,
pub normalized: Option<String>,
pub country: Option<&'static Country>,
pub phone_type: Option<PhoneNumberType>,
}Expand description
Detailed analysis result for a phone number
Fields§
§original: String§is_valid: bool§normalized: Option<String>§country: Option<&'static Country>§phone_type: Option<PhoneNumberType>Trait Implementations§
Source§impl Clone for PhoneNumberAnalysis
impl Clone for PhoneNumberAnalysis
Source§fn clone(&self) -> PhoneNumberAnalysis
fn clone(&self) -> PhoneNumberAnalysis
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 moreAuto Trait Implementations§
impl Freeze for PhoneNumberAnalysis
impl RefUnwindSafe for PhoneNumberAnalysis
impl Send for PhoneNumberAnalysis
impl Sync for PhoneNumberAnalysis
impl Unpin for PhoneNumberAnalysis
impl UnwindSafe for PhoneNumberAnalysis
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