pub struct GeoData {
pub ip: String,
pub geo_location: Option<GeoLocation>,
pub timezone: Option<Timezone>,
pub flag: Option<Flag>,
pub currency: Option<Currency>,
pub connection: Option<Connection>,
pub security: Option<Security>,
pub user_agent: Option<UserAgent>,
}Expand description
The data payload inside a successful IpGeoResponse.
Fields§
§ip: String§geo_location: Option<GeoLocation>§timezone: Option<Timezone>§flag: Option<Flag>§currency: Option<Currency>§connection: Option<Connection>§security: Option<Security>§user_agent: Option<UserAgent>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GeoData
impl<'de> Deserialize<'de> for GeoData
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 GeoData
impl RefUnwindSafe for GeoData
impl Send for GeoData
impl Sync for GeoData
impl Unpin for GeoData
impl UnsafeUnpin for GeoData
impl UnwindSafe for GeoData
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