[][src]Struct google_games1::EventBatchRecordFailure

pub struct EventBatchRecordFailure {
    pub kind: Option<String>,
    pub range: Option<EventPeriodRange>,
    pub failure_cause: Option<String>,
}

This is a JSON template for a batch update failure resource.

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

Fields

kind: Option<String>

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

range: Option<EventPeriodRange>

The time range which was rejected; empty for a request-wide failure.

failure_cause: Option<String>

The cause for the update failure. Possible values are:

  • "TOO_LARGE": A batch request was issued with more events than are allowed in a single batch.
  • "TIME_PERIOD_EXPIRED": A batch was sent with data too far in the past to record.
  • "TIME_PERIOD_SHORT": A batch was sent with a time range that was too short.
  • "TIME_PERIOD_LONG": A batch was sent with a time range that was too long.
  • "ALREADY_UPDATED": An attempt was made to record a batch of data which was already seen.
  • "RECORD_RATE_HIGH": An attempt was made to record data faster than the server will apply updates.

Trait Implementations

impl Part for EventBatchRecordFailure[src]

impl Default for EventBatchRecordFailure[src]

impl Clone for EventBatchRecordFailure[src]

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

Performs copy-assignment from source. Read more

impl Debug for EventBatchRecordFailure[src]

impl Serialize for EventBatchRecordFailure[src]

impl<'de> Deserialize<'de> for EventBatchRecordFailure[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]