pub struct GoogleMapsPlacesV1PlaceSubDestination {
pub id: Option<String>,
pub name: Option<String>,
}Expand description
Sub-destinations are specific places associated with a main place. These provide more specific destinations for users who are searching within a large or complex place, like an airport, national park, university, or stadium. For example, sub-destinations at an airport might include associated terminals and parking lots. Sub-destinations return the place ID and place resource name, which can be used in subsequent Place Details (New) requests to fetch richer details, including the sub-destination’s display name and location.
This type is not used in any activity, and only used as part of another schema.
Fields§
§id: Option<String>The place id of the sub-destination.
name: Option<String>The resource name of the sub-destination.
Trait Implementations§
Source§impl Clone for GoogleMapsPlacesV1PlaceSubDestination
impl Clone for GoogleMapsPlacesV1PlaceSubDestination
Source§fn clone(&self) -> GoogleMapsPlacesV1PlaceSubDestination
fn clone(&self) -> GoogleMapsPlacesV1PlaceSubDestination
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 Default for GoogleMapsPlacesV1PlaceSubDestination
impl Default for GoogleMapsPlacesV1PlaceSubDestination
Source§fn default() -> GoogleMapsPlacesV1PlaceSubDestination
fn default() -> GoogleMapsPlacesV1PlaceSubDestination
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleMapsPlacesV1PlaceSubDestination
impl<'de> Deserialize<'de> for GoogleMapsPlacesV1PlaceSubDestination
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 GoogleMapsPlacesV1PlaceSubDestination
Auto Trait Implementations§
impl Freeze for GoogleMapsPlacesV1PlaceSubDestination
impl RefUnwindSafe for GoogleMapsPlacesV1PlaceSubDestination
impl Send for GoogleMapsPlacesV1PlaceSubDestination
impl Sync for GoogleMapsPlacesV1PlaceSubDestination
impl Unpin for GoogleMapsPlacesV1PlaceSubDestination
impl UnwindSafe for GoogleMapsPlacesV1PlaceSubDestination
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