Crate zipcodes

Source

Structs§

Zipcode
The available fields in the zipcode database.

Enums§

Error
Describes different types of errors with supplied zipcodes during parsing.

Functions§

filter_by
Using a supplied list of filt-er-functions, return a filtered list of zipcodes.
is_real
Returns true if the supplied zipcode is a valid zipcode.
list_all
Retrieve a list of all zipcodes in the database.
matching
Determine whether a supplied zipcode matches any existing zipcode. The supplied zipcode must be of the format: “#####”, “#####-####”, or “##### ####”.

Type Aliases§

Result
A result type where the error is an Error.