Struct gapi_grpc::google::maps::playablelocations::v3::SamplePlayableLocationsRequest[][src]

pub struct SamplePlayableLocationsRequest {
    pub area_filter: Option<AreaFilter>,
    pub criteria: Vec<Criterion>,
}

Life of a query:

PlayableLocationList will then contain mutually exclusive lists of PlayableLocation objects that satisfy each of the criteria. Think of it as a collection of real-world locations that you can then associate with your game state.

Note: These points are impermanent in nature. E.g, parks can close, and places can be removed.

The response specifies how long you can expect the playable locations to last. Once they expire, you should query the samplePlayableLocations API again to get a fresh view of the real world.

Fields

area_filter: Option<AreaFilter>

Required. Specifies the area to search within for playable locations.

criteria: Vec<Criterion>

Required. Specifies one or more (up to 5) criteria for filtering the returned playable locations.

Trait Implementations

impl Clone for SamplePlayableLocationsRequest[src]

impl Debug for SamplePlayableLocationsRequest[src]

impl Default for SamplePlayableLocationsRequest[src]

impl Message for SamplePlayableLocationsRequest[src]

impl PartialEq<SamplePlayableLocationsRequest> for SamplePlayableLocationsRequest[src]

impl StructuralPartialEq for SamplePlayableLocationsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for SamplePlayableLocationsRequest

impl Send for SamplePlayableLocationsRequest

impl Sync for SamplePlayableLocationsRequest

impl Unpin for SamplePlayableLocationsRequest

impl UnwindSafe for SamplePlayableLocationsRequest

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]