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

pub struct Impression {
    pub location_name: String,
    pub impression_type: i32,
    pub game_object_type: i32,
}

Encapsulates impression event details.

Fields

location_name: String

Required. The name of the playable location.

impression_type: i32

Required. The type of impression event.

game_object_type: i32

An arbitrary, developer-defined type identifier for each type of game object used in your game.

Since players interact with differ types of game objects in different ways, this field allows you to segregate impression data by type for analysis.

You should assign a unique game_object_type ID to represent a distinct type of game object in your game.

For example, 1=monster location, 2=powerup location.

Implementations

impl Impression[src]

pub fn impression_type(&self) -> ImpressionType[src]

Returns the enum value of impression_type, or the default if the field is set to an invalid enum value.

pub fn set_impression_type(&mut self, value: ImpressionType)[src]

Sets impression_type to the provided enum value.

Trait Implementations

impl Clone for Impression[src]

impl Debug for Impression[src]

impl Default for Impression[src]

impl Message for Impression[src]

impl PartialEq<Impression> for Impression[src]

impl StructuralPartialEq for Impression[src]

Auto Trait Implementations

impl RefUnwindSafe for Impression

impl Send for Impression

impl Sync for Impression

impl Unpin for Impression

impl UnwindSafe for Impression

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]