We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92ac48e + f15bbed commit ccae633Copy full SHA for ccae633
src/datasets/ip.rs
@@ -20,14 +20,14 @@ pub struct AsnRouteInfo {
20
pub prefix: IpNet,
21
pub rpki: RpkiValidationState,
22
pub name: String,
23
- pub country: String,
+ pub country: Option<String>,
24
}
25
26
#[derive(Debug, Clone, Serialize, Deserialize)]
27
pub struct IpInfo {
28
pub ip: String,
29
#[serde(rename(serialize = "location"))]
30
31
#[serde(rename(serialize = "network"))]
32
pub asn: Option<AsnRouteInfo>,
33
0 commit comments