pub struct VpnResponse {
pub ip: String,
pub is_vpn: bool,
pub is_tor: bool,
pub network_class: String,
pub anonymized: bool,
pub provider: String,
pub risk_score: i64,
}Expand description
Response of GET /v1/vpn/{ip}.
Fields§
§ip: String§is_vpn: bool§is_tor: bool§network_class: String§anonymized: bool§provider: String§risk_score: i64Trait Implementations§
Source§impl Clone for VpnResponse
impl Clone for VpnResponse
Source§impl Debug for VpnResponse
impl Debug for VpnResponse
Source§impl Default for VpnResponse
impl Default for VpnResponse
Source§impl<'de> Deserialize<'de> for VpnResponsewhere
VpnResponse: Default,
impl<'de> Deserialize<'de> for VpnResponsewhere
VpnResponse: Default,
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
Source§impl PartialEq for VpnResponse
impl PartialEq for VpnResponse
Source§impl Serialize for VpnResponse
impl Serialize for VpnResponse
impl StructuralPartialEq for VpnResponse
Auto Trait Implementations§
impl Freeze for VpnResponse
impl RefUnwindSafe for VpnResponse
impl Send for VpnResponse
impl Sync for VpnResponse
impl Unpin for VpnResponse
impl UnsafeUnpin for VpnResponse
impl UnwindSafe for VpnResponse
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