pub fn get_place_location(
    place: &str,
    geonames_data: &[Gazetteer]
) -> Option<GeoLocation>
Expand description

Get the location of a place.

§Arguments

  • place - A &str representing the place.
  • geonames_data - A slice of Gazetteer structs.

§Returns

An Option containing a Location struct.