geocode 0.1.1

Find location information by using Google Maps or DataScienceToolkit API
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Deserialize, Debug, Clone)]
pub struct Location {
    pub lat: f64,
    pub lng: f64,
}

#[derive(Debug)]
pub struct GeocodeResponse {
    pub location: Location,
    pub location_type: String,
    pub formatted_address: String,
}