ip2location-iso3166-2 0.4.0

IP2Location™ ISO 3166-2 Subdivision Code
Documentation
1
2
3
4
5
6
7
8
9
10
use country_code::{iso3166_2::SubdivisionCode, CountryCode};
use serde::Deserialize;

//
#[derive(Deserialize, Debug, Clone)]
pub struct Record {
    pub country_code: CountryCode,
    pub subdivision_name: Box<str>,
    pub code: SubdivisionCode,
}