Function iso3166_3::code [] [src]

pub fn code(code_given: &str) -> Option<FormerCountryCode>

Returns the FormerCountryCode if one is found matching the given code.

Examples

let _country = iso3166_3::code("DDDE");