[][src]Struct google_games1::RoomLeaveDiagnostics

pub struct RoomLeaveDiagnostics {
    pub kind: Option<String>,
    pub sockets_used: Option<bool>,
    pub ios_network_type: Option<i32>,
    pub network_operator_code: Option<String>,
    pub peer_session: Option<Vec<PeerSessionDiagnostics>>,
    pub android_network_subtype: Option<i32>,
    pub network_operator_name: Option<String>,
    pub android_network_type: Option<i32>,
}

This is a JSON template for room leave diagnostics.

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#roomLeaveDiagnostics.

sockets_used: Option<bool>

Whether or not sockets were used.

ios_network_type: Option<i32>

iOS network type as defined in Reachability.h.

network_operator_code: Option<String>

The MCC+MNC code for the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperator() On iOS, see: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html

peer_session: Option<Vec<PeerSessionDiagnostics>>

Diagnostics about all peer sessions.

android_network_subtype: Option<i32>

Android network subtype. http://developer.android.com/reference/android/net/NetworkInfo.html#getSubtype()

network_operator_name: Option<String>

The name of the carrier of the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName() On iOS: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#//apple_ref/occ/instp/CTCarrier/carrierName

android_network_type: Option<i32>

Android network type. http://developer.android.com/reference/android/net/NetworkInfo.html#getType()

Trait Implementations

impl Part for RoomLeaveDiagnostics[src]

impl Default for RoomLeaveDiagnostics[src]

impl Clone for RoomLeaveDiagnostics[src]

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

Performs copy-assignment from source. Read more

impl Debug for RoomLeaveDiagnostics[src]

impl Serialize for RoomLeaveDiagnostics[src]

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