Crate zip_codes [−] [src]
A lookup table for all primary U.S. ZIP codes.
Examples
assert_eq!(zip_codes::map().get("10465").unwrap().state, "NY"); assert_eq!(zip_codes::map().get("53186").unwrap().city, "WAUKESHA");
Structs
Record |
Information for a single ZIP code. |
Enums
Type |
The classification of a ZIP code. |
Functions
map |
Returns a reference to a static lookup table for all primary U.S. ZIP codes. |
Type Definitions
Map |