google-place-api 0.2.0

Rust fetch Google Places API, support both cli and crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
mod place;
mod search_status;

pub use place::*;
pub use search_status::*;

use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize, Default, PartialEq)]
pub struct LatLng {
    pub lat: f64,
    pub lng: f64,
}

pub type Error = Box<dyn std::error::Error>;