[][src]Struct google_games1::EventRecordFailure

pub struct EventRecordFailure {
    pub event_id: Option<String>,
    pub kind: Option<String>,
    pub failure_cause: Option<String>,
}

This is a JSON template for an event update failure resource.

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

Fields

event_id: Option<String>

The ID of the event that was not updated.

kind: Option<String>

Uniquely identifies the type of this resource. Value is always the fixed string games#eventRecordFailure.

failure_cause: Option<String>

The cause for the update failure. Possible values are:

  • "NOT_FOUND" - An attempt was made to set an event that was not defined.
  • "INVALID_UPDATE_VALUE" - An attempt was made to increment an event by a non-positive value.

Trait Implementations

impl Part for EventRecordFailure[src]

impl Default for EventRecordFailure[src]

impl Clone for EventRecordFailure[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for EventRecordFailure[src]

impl Serialize for EventRecordFailure[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]