pub struct Place {
pub name: String,
pub address: Option<String>,
pub postcode: Option<String>,
pub city: Option<String>,
pub phone: Option<String>,
pub website: Option<String>,
pub maps_url: Option<String>,
pub latitude: Option<f64>,
pub longitude: Option<f64>,
pub source_query: Option<String>,
}Expand description
One Google Maps place that the scraper extracted.
Fields§
§name: StringDisplay name (from H1 on the detail panel).
address: Option<String>Full address as shown in the panel.
postcode: Option<String>5-digit postcode parsed from the address. Populated only when the
address contains a NNNNN City segment (German postal format); None
otherwise. The match is a heuristic and may also fire on other 5-digit
formats (e.g. a US ZIP + city).
city: Option<String>City parsed alongside the postcode from a NNNNN City segment (German
postal format). None when no such segment is present. Same heuristic
caveat as Place::postcode.
phone: Option<String>First phone number listed.
website: Option<String>External website URL listed in the panel.
maps_url: Option<String>The Google Maps URL (/maps/place/...) of this entry.
latitude: Option<f64>Latitude parsed from the @lat,lng segment of maps_url, if present.
longitude: Option<f64>Longitude parsed from the @lat,lng segment of maps_url, if present.
source_query: Option<String>The query that produced this hit.