Function iso3166_1::name [] [src]

pub fn name<'a>(name: &str) -> Option<CountryCode<'a>>

Returns an Option of a CountryCode with the given name.

Examples

let country = iso3166_1::name("Angola").unwrap();