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

pub struct Criterion {
    pub game_object_type: i32,
    pub filter: Option<Filter>,
    pub fields_to_return: Option<FieldMask>,
}

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

Fields

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

filter: Option<Filter>

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

fields_to_return: Option<FieldMask>

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:

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

Trait Implementations

impl Clone for Criterion[src]

impl Debug for Criterion[src]

impl Default for Criterion[src]

impl Message for Criterion[src]

impl PartialEq<Criterion> for Criterion[src]

impl StructuralPartialEq for Criterion[src]

Auto Trait Implementations

impl RefUnwindSafe for Criterion

impl Send for Criterion

impl Sync for Criterion

impl Unpin for Criterion

impl UnwindSafe for Criterion

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]