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

pub struct PlayerReport {
    pub location_name: String,
    pub reasons: Vec<i32>,
    pub reason_details: String,
    pub language_code: String,
}

A report submitted by a player about a playable location that is considered inappropriate for use in the game.

Fields

location_name: String

Required. The name of the playable location.

reasons: Vec<i32>

Required. One or more reasons why this playable location is considered bad.

reason_details: String

Required. A free-form description detailing why the playable location is considered bad.

language_code: String

Language code (in BCP-47 format) indicating the language of the freeform description provided in reason_details. Examples are “en”, “en-US” or “ja-Latn”. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.

Implementations

impl PlayerReport[src]

pub fn reasons(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<BadLocationReason>>
[src]

Returns an iterator which yields the valid enum values contained in reasons.

pub fn push_reasons(&mut self, value: BadLocationReason)[src]

Appends the provided enum value to reasons.

Trait Implementations

impl Clone for PlayerReport[src]

impl Debug for PlayerReport[src]

impl Default for PlayerReport[src]

impl Message for PlayerReport[src]

impl PartialEq<PlayerReport> for PlayerReport[src]

impl StructuralPartialEq for PlayerReport[src]

Auto Trait Implementations

impl RefUnwindSafe for PlayerReport

impl Send for PlayerReport

impl Sync for PlayerReport

impl Unpin for PlayerReport

impl UnwindSafe for PlayerReport

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]