Function rust_iso3166::from_numeric
source · [−]pub fn from_numeric(numeric: i32) -> Option<CountryCode>
Expand description
Returns the CountryCode with the given numeric , if exists.
let country = rust_iso3166::from_numeric(036);
assert_eq!("AUS", country.unwrap().alpha3);