vpndetection 6.2.0

The official Rust client library for the VPNDetection API: anonymity detection covering VPNs, residential proxies, Tor nodes, hosting servers, CDNs and relays.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// The wire models, generated by openapi-generator from spec/openapi.yaml. Only
// this file is hand-written; scripts/generate.sh replaces models/ wholesale.
//
// They carry the spec's optionality exactly, which is the whole absent-versus
// -false contract for free: `is_vpn: bool` required, `is_hosting: Option<bool>`
// optional. The idiomatic layer wraps them rather than mapping into parallel
// structs, so a spec change reaches a consumer without a hand-edited mapper.
//
// The generator's REQUEST functions are deliberately not taken; scripts/
// generate.sh says why, and transport.rs is what replaces them.
//
// Generated code is held to the generator's standards, not ours. That includes
// rustdoc's: a description the spec gives may carry a bare URL (`open`'s does,
// 2026.10.20), which the generator copies into the doc comment as written.
#![allow(clippy::all, dead_code, unused_imports, rustdoc::bare_urls)]

pub mod models;