pub struct PhoneValidationResponse {
pub is_valid: Option<bool>,
pub e164_format: Option<String>,
pub international_format: Option<String>,
pub national_format: Option<String>,
pub line_type: Option<String>,
pub location: Option<String>,
pub country: Option<CountryInfo>,
}Fields§
§is_valid: Option<bool>§e164_format: Option<String>§international_format: Option<String>§national_format: Option<String>§line_type: Option<String>§location: Option<String>§country: Option<CountryInfo>Trait Implementations§
Source§impl Clone for PhoneValidationResponse
impl Clone for PhoneValidationResponse
Source§fn clone(&self) -> PhoneValidationResponse
fn clone(&self) -> PhoneValidationResponse
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 PhoneValidationResponse
impl Debug for PhoneValidationResponse
Source§impl<'de> Deserialize<'de> for PhoneValidationResponse
impl<'de> Deserialize<'de> for PhoneValidationResponse
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
Auto Trait Implementations§
impl Freeze for PhoneValidationResponse
impl RefUnwindSafe for PhoneValidationResponse
impl Send for PhoneValidationResponse
impl Sync for PhoneValidationResponse
impl Unpin for PhoneValidationResponse
impl UnsafeUnpin for PhoneValidationResponse
impl UnwindSafe for PhoneValidationResponse
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