Struct google_mybusiness4::api::PlaceInfo
source · pub struct PlaceInfo {
pub name: Option<String>,
pub place_id: Option<String>,
}
Expand description
Defines an area that’s represented by a place ID.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>
The localized name of the place. For example, Scottsdale, AZ
.
place_id: Option<String>
The ID of the place. Must correspond to a [region.] (https://developers.google.com/places/web-service/supported_types#table3)
Trait Implementations§
source§impl<'de> Deserialize<'de> for PlaceInfo
impl<'de> Deserialize<'de> for PlaceInfo
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
impl Part for PlaceInfo
Auto Trait Implementations§
impl RefUnwindSafe for PlaceInfo
impl Send for PlaceInfo
impl Sync for PlaceInfo
impl Unpin for PlaceInfo
impl UnwindSafe for PlaceInfo
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