1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//! Once you have a `place_id` from a Place Search, you can request more details
//! about a particular establishment or point of interest by initiating a Place
//! Details request. A Place Details request returns more comprehensive
//! information about the indicated place such as its complete address, phone
//! number, user rating and reviews.

pub mod field;
pub mod request;
pub mod response;
pub mod sort_order;

// -----------------------------------------------------------------------------

const SERVICE_URL: &str = "https://maps.googleapis.com/maps/api/place/details";
const OUTPUT_FORMAT: &str = "json"; // json or xml

// -----------------------------------------------------------------------------

pub use crate::places::{error::Error, status::Status}; // place_search

pub use crate::places::place_details::{
    field::Field, request::Request, response::Response, sort_order::SortOrder,
}; // place_details