pub struct LocalPlace {Show 23 fields
pub position: Option<u32>,
pub title: String,
pub place_id: String,
pub data_id: String,
pub data_cid: String,
pub reviews_link: String,
pub photos_link: String,
pub gps_coordinates: Option<GpsCoordinates>,
pub place_id_search: String,
pub provider_id: String,
pub rating: Option<f64>,
pub reviews: Option<u32>,
pub price: Option<String>,
pub type_: Option<String>,
pub types: Option<Vec<String>>,
pub address: String,
pub open_state: Option<String>,
pub hours: Option<String>,
pub operating_hours: Option<HashMap<String, String>>,
pub phone: Option<String>,
pub website: Option<String>,
pub description: Option<String>,
pub service_options: Option<HashMap<String, bool>>,
}
Expand description
Local place result
Fields§
§position: Option<u32>
§title: String
§place_id: String
§data_id: String
§data_cid: String
§reviews_link: String
§photos_link: String
§gps_coordinates: Option<GpsCoordinates>
§place_id_search: String
§provider_id: String
§rating: Option<f64>
§reviews: Option<u32>
§price: Option<String>
§type_: Option<String>
§types: Option<Vec<String>>
§address: String
§open_state: Option<String>
§hours: Option<String>
§operating_hours: Option<HashMap<String, String>>
§phone: Option<String>
§website: Option<String>
§description: Option<String>
§service_options: Option<HashMap<String, bool>>
Trait Implementations§
Source§impl Clone for LocalPlace
impl Clone for LocalPlace
Source§fn clone(&self) -> LocalPlace
fn clone(&self) -> LocalPlace
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LocalPlace
impl Debug for LocalPlace
Source§impl<'de> Deserialize<'de> for LocalPlace
impl<'de> Deserialize<'de> for LocalPlace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LocalPlace
impl RefUnwindSafe for LocalPlace
impl Send for LocalPlace
impl Sync for LocalPlace
impl Unpin for LocalPlace
impl UnwindSafe for LocalPlace
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more