pub struct MyIp {Show 15 fields
pub ipv4: Option<String>,
pub ipv6: Option<String>,
pub country: String,
pub country_code: String,
pub city: String,
pub region: String,
pub postal_code: String,
pub latitude: f64,
pub longitude: f64,
pub timezone: String,
pub accuracy_radius: i64,
pub asn: String,
pub asn_name: String,
pub asn_type: String,
pub asn_country: String,
}Expand description
Response of GET /v1/myip.
Fields§
§ipv4: Option<String>§ipv6: Option<String>§country: String§country_code: String§city: String§region: String§postal_code: String§latitude: f64§longitude: f64§timezone: String§accuracy_radius: i64§asn: String§asn_name: String§asn_type: String§asn_country: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for MyIp
impl<'de> Deserialize<'de> for MyIp
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
impl StructuralPartialEq for MyIp
Auto Trait Implementations§
impl Freeze for MyIp
impl RefUnwindSafe for MyIp
impl Send for MyIp
impl Sync for MyIp
impl Unpin for MyIp
impl UnsafeUnpin for MyIp
impl UnwindSafe for MyIp
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