pub struct Zipcode {Show 13 fields
pub acceptable_cities: Vec<String>,
pub active: bool,
pub area_codes: Vec<String>,
pub city: String,
pub country: String,
pub lat: String,
pub long: String,
pub state: String,
pub timezone: String,
pub unacceptable_cities: Vec<String>,
pub world_region: String,
pub zip_code: String,
pub zip_code_type: String,
}Expand description
The available fields in the zipcode database.
‘acceptable_cities’: [], ‘active’: True, ‘area_codes’: [‘281’, ‘832’], ‘city’: ‘Cypress’, ‘country’: ‘US’, ‘county’: ‘Harris County’, ‘lat’: ‘29.9857’, ‘long’: ‘-95.6548’, ‘state’: ‘TX’, ‘timezone’: ‘America/Chicago’, ‘unacceptable_cities’: [], ‘world_region’: ‘NA’, ‘zip_code’: ‘77429’, ‘zip_code_type’: ‘STANDARD’}[
Fields§
§acceptable_cities: Vec<String>§active: bool§area_codes: Vec<String>§city: String§country: String§lat: String§long: String§state: String§timezone: String§unacceptable_cities: Vec<String>§world_region: String§zip_code: String§zip_code_type: StringTrait Implementations§
source§impl<'de> Deserialize<'de> for Zipcode
impl<'de> Deserialize<'de> for Zipcode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more