Function fips_codes::state_by_id
source · pub fn state_by_id(id: u8) -> Option<&'static str>
Expand description
use fips_codes::state_by_id;
assert_eq!(state_by_id(75), None);
assert_eq!(state_by_id(39), Some("Ohio"));
pub fn state_by_id(id: u8) -> Option<&'static str>
use fips_codes::state_by_id;
assert_eq!(state_by_id(75), None);
assert_eq!(state_by_id(39), Some("Ohio"));