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
use crate::models::*;
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct Response {
    pub candidates: Vec<Place>,
    pub status: SearchStatus,
    pub error_message: Option<String>,
    pub info_messages: Option<Vec<String>>,
}