pub struct ProxyResponse {Show 13 fields
pub ip: String,
pub is_proxy: bool,
pub is_tor: bool,
pub network_class: String,
pub anonymized: bool,
pub provider: Option<String>,
pub vpn_provider: Option<String>,
pub risk_score: i64,
pub evidence: Vec<String>,
pub purity: Option<Purity>,
pub deduction_count: Option<i64>,
pub locked: Vec<String>,
pub plan_required: Option<String>,
}Expand description
Response of GET /v1/proxy/{ip}.
Fields§
§ip: String§is_proxy: bool§is_tor: bool§network_class: String§anonymized: bool§provider: Option<String>The network owner. Null on the Free plan.
vpn_provider: Option<String>The VPN brand when known. Null on the Free plan.
risk_score: i64§evidence: Vec<String>§purity: Option<Purity>The score breakdown. Null on the Free plan.
deduction_count: Option<i64>On a locked answer: how many reasons the withheld breakdown holds.
locked: Vec<String>Fields nulled because of the plan.
plan_required: Option<String>The plan that unlocks locked.
Trait Implementations§
Source§impl Clone for ProxyResponse
impl Clone for ProxyResponse
Source§impl Debug for ProxyResponse
impl Debug for ProxyResponse
Source§impl Default for ProxyResponse
impl Default for ProxyResponse
Source§impl<'de> Deserialize<'de> for ProxyResponsewhere
ProxyResponse: Default,
impl<'de> Deserialize<'de> for ProxyResponsewhere
ProxyResponse: 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 ProxyResponse
impl PartialEq for ProxyResponse
Source§impl Serialize for ProxyResponse
impl Serialize for ProxyResponse
impl StructuralPartialEq for ProxyResponse
Auto Trait Implementations§
impl Freeze for ProxyResponse
impl RefUnwindSafe for ProxyResponse
impl Send for ProxyResponse
impl Sync for ProxyResponse
impl Unpin for ProxyResponse
impl UnsafeUnpin for ProxyResponse
impl UnwindSafe for ProxyResponse
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