pub struct IpGeoResponse {
pub success: bool,
pub data: Option<GeoData>,
pub message: Option<String>,
}Expand description
Top-level API response.
Fields§
§success: bool§data: Option<GeoData>§message: Option<String>Present only when success is false.
Trait Implementations§
Source§impl Clone for IpGeoResponse
impl Clone for IpGeoResponse
Source§fn clone(&self) -> IpGeoResponse
fn clone(&self) -> IpGeoResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IpGeoResponse
impl Debug for IpGeoResponse
Source§impl<'de> Deserialize<'de> for IpGeoResponse
impl<'de> Deserialize<'de> for IpGeoResponse
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 IpGeoResponse
impl RefUnwindSafe for IpGeoResponse
impl Send for IpGeoResponse
impl Sync for IpGeoResponse
impl Unpin for IpGeoResponse
impl UnsafeUnpin for IpGeoResponse
impl UnwindSafe for IpGeoResponse
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