google-places-api 0.5.6

Unofficial Google Places API for rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct Photo {
    // Define the fields that represent a place photo
    #[serde(rename = "photo_reference")]
    pub id: String,
    pub height: u32,
    pub width: u32,
    pub html_attributions: Vec<String>,
}