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>,
}Fields§
§zip_code: &'static strThe 5-digit ZIP code.
zip_code_type: TypeThe ZIP code classification.
city: &'static strThe city to which the ZIP code belongs (all uppercase).
state: &'static strThe state to which the ZIP code belongs (two letter abbreviation).
coordinates: Option<(f64, f64)>Latitude and longitude
is_decommissioned: boolIf 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.
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more