Function iso4217::name [] [src]

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

Returns an Option of the CurrencyCode with the specified name.

Examples

An example of a valid name:

extern crate iso4217;

fn main() {
    let currency = iso4217::name("Albanian lek").unwrap();
}