[][src]Struct google_playablelocations3::GoogleMapsPlayablelocationsV3SampleCriterion

pub struct GoogleMapsPlayablelocationsV3SampleCriterion {
    pub fields_to_return: Option<String>,
    pub filter: Option<GoogleMapsPlayablelocationsV3SampleFilter>,
    pub game_object_type: Option<i32>,
}

Encapsulates a filter criterion for searching for a set of playable locations.

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

Fields

fields_to_return: Option<String>

Specifies which PlayableLocation fields are returned.

name (which is used for logging impressions), center_point and place_id (or plus_code) are always returned.

The following fields are omitted unless you specify them here:

  • snapped_point
  • types

Note: The more fields you include, the more expensive in terms of data and associated latency your query will be.

filter: Option<GoogleMapsPlayablelocationsV3SampleFilter>

Specifies filtering options, and specifies what will be included in the result set.

game_object_type: Option<i32>

Required. An arbitrary, developer-defined identifier of the type of game object that the playable location is used for. This field allows you to specify criteria per game object type when searching for playable locations.

You should assign a unique game_object_type ID across all request_criteria to represent a distinct type of game object. For example, 1=monster location, 2=powerup location.

The response contains a map<game_object_type, Response>.

Trait Implementations

impl Clone for GoogleMapsPlayablelocationsV3SampleCriterion[src]

impl Debug for GoogleMapsPlayablelocationsV3SampleCriterion[src]

impl Default for GoogleMapsPlayablelocationsV3SampleCriterion[src]

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

impl Part for GoogleMapsPlayablelocationsV3SampleCriterion[src]

impl Serialize for GoogleMapsPlayablelocationsV3SampleCriterion[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