[][src]Struct google_playablelocations3::GoogleMapsPlayablelocationsV3SamplePlayableLocation

pub struct GoogleMapsPlayablelocationsV3SamplePlayableLocation {
    pub name: Option<String>,
    pub plus_code: Option<String>,
    pub center_point: Option<GoogleTypeLatLng>,
    pub place_id: Option<String>,
    pub types: Option<Vec<String>>,
    pub snapped_point: Option<GoogleTypeLatLng>,
}

A geographical point suitable for placing game objects in location-based games.

This type is not used in any activity, and only used as part of another schema.

Fields

name: Option<String>

Required. The name of this playable location.

plus_code: Option<String>

A [plus code] (http://openlocationcode.com)

center_point: Option<GoogleTypeLatLng>

Required. The latitude and longitude associated with the center of the playable location.

By default, the set of playable locations returned from SamplePlayableLocations use center-point coordinates.

place_id: Option<String>

A [place ID] (https://developers.google.com/places/place-id)

types: Option<Vec<String>>

A collection of Playable Location Types for this playable location. The first type in the collection is the primary type.

Type information might not be available for all playable locations.

snapped_point: Option<GoogleTypeLatLng>

The playable location's coordinates, snapped to the sidewalk of the nearest road, if a nearby road exists.

Trait Implementations

impl Clone for GoogleMapsPlayablelocationsV3SamplePlayableLocation[src]

impl Debug for GoogleMapsPlayablelocationsV3SamplePlayableLocation[src]

impl Default for GoogleMapsPlayablelocationsV3SamplePlayableLocation[src]

impl<'de> Deserialize<'de> for GoogleMapsPlayablelocationsV3SamplePlayableLocation[src]

impl Part for GoogleMapsPlayablelocationsV3SamplePlayableLocation[src]

impl Serialize for GoogleMapsPlayablelocationsV3SamplePlayableLocation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any