Struct zip_codes::Record
[−]
[src]
pub struct Record { pub zip_code: &'static str, pub zip_code_type: Type, pub city: &'static str, pub state: &'static str, pub coordinates: Option<(f64, f64)>, pub is_decommissioned: bool, pub tax_returns_filed: Option<u64>, pub estimated_population: Option<u64>, pub total_wages: Option<u64>, }
Information for a single ZIP code.
Fields
zip_code: &'static str
The 5-digit ZIP code.
zip_code_type: Type
The ZIP code classification.
city: &'static str
The city to which the ZIP code belongs (all uppercase).
state: &'static str
The state to which the ZIP code belongs (two letter abbreviation).
coordinates: Option<(f64, f64)>
Latitude and longitude
is_decommissioned: bool
If true
, the ZIP code is historical; if false
, the ZIP code is current.
tax_returns_filed: Option<u64>
The number of individual tax returns filed as of 2008.
estimated_population: Option<u64>
The estimated population of the area of the ZIP code.
total_wages: Option<u64>
Total yearly wages of the population.
Trait Implementations
impl Clone for Record
[src]
fn clone(&self) -> Record
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more