Crate geogetter

Source
Expand description

§geogetter

geogetter is a simple library that connects to the OpenStreetMap API to retrive all the information about the given string

Structs§

Address
Represents the address structure containing administrative, town, county, state, postcode, country, and country code.
Location
Represents the location structure containing latitude, longitude, address type, name, display name, address, and bounding box.

Constants§

USER_AGENT
Contains a string that allows identifying the requesting client’s software.

Traits§

Deserialize
A data structure that can be deserialized from any data format supported by Serde.
Serialize
A data structure that can be serialized into any data format supported by Serde.

Functions§

get_location
Asynchronously retrieves location data from OpenStreetMap based on the input string.

Derive Macros§

Deserialize
Serialize