Struct gapi_grpc::google::maps::playablelocations::v3::sample::PlayableLocation[][src]

pub struct PlayableLocation {
    pub name: String,
    pub types: Vec<String>,
    pub center_point: Option<LatLng>,
    pub snapped_point: Option<LatLng>,
    pub location_id: Option<LocationId>,
}

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

Fields

name: String

Required. The name of this playable location.

types: 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.

center_point: Option<LatLng>

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

By default, the set of playable locations returned from [SamplePlayableLocations][google.maps.playablelocations.v3.PlayableLocations.SamplePlayableLocations] use center-point coordinates.

snapped_point: Option<LatLng>

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

location_id: Option<LocationId>

Required. Each location has one of the following identifiers:

Trait Implementations

impl Clone for PlayableLocation[src]

impl Debug for PlayableLocation[src]

impl Default for PlayableLocation[src]

impl Message for PlayableLocation[src]

impl PartialEq<PlayableLocation> for PlayableLocation[src]

impl StructuralPartialEq for PlayableLocation[src]

Auto Trait Implementations

impl RefUnwindSafe for PlayableLocation

impl Send for PlayableLocation

impl Sync for PlayableLocation

impl Unpin for PlayableLocation

impl UnwindSafe for PlayableLocation

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]