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

pub struct SamplePlayableLocationsResponse {
    pub locations_per_game_object_type: HashMap<i32, PlayableLocationList>,
    pub ttl: Option<Duration>,
}

Response for the [SamplePlayableLocations][google.maps.playablelocations.v3.PlayableLocations.SamplePlayableLocations] method.

Fields

locations_per_game_object_type: HashMap<i32, PlayableLocationList>

Each PlayableLocation object corresponds to a game_object_type specified in the request.

ttl: Option<Duration>

Required. Specifies the “time-to-live” for the set of playable locations. You can use this value to determine how long to cache the set of playable locations. After this length of time, your back-end game server should issue a new [SamplePlayableLocations][google.maps.playablelocations.v3.PlayableLocations.SamplePlayableLocations] request to get a fresh set of playable locations (because for example, they might have been removed, a park might have closed for the day, a business might have closed permanently).

Trait Implementations

impl Clone for SamplePlayableLocationsResponse[src]

impl Debug for SamplePlayableLocationsResponse[src]

impl Default for SamplePlayableLocationsResponse[src]

impl Message for SamplePlayableLocationsResponse[src]

impl PartialEq<SamplePlayableLocationsResponse> for SamplePlayableLocationsResponse[src]

impl StructuralPartialEq for SamplePlayableLocationsResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for SamplePlayableLocationsResponse

impl Send for SamplePlayableLocationsResponse

impl Sync for SamplePlayableLocationsResponse

impl Unpin for SamplePlayableLocationsResponse

impl UnwindSafe for SamplePlayableLocationsResponse

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]