[][src]Struct google_games1::NetworkDiagnostics

pub struct NetworkDiagnostics {
    pub kind: Option<String>,
    pub network_operator_name: Option<String>,
    pub registration_latency_millis: Option<i32>,
    pub ios_network_type: Option<i32>,
    pub network_operator_code: Option<String>,
    pub android_network_subtype: Option<i32>,
    pub android_network_type: Option<i32>,
}

This is a JSON template for network diagnostics reported for a client.

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

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

registration_latency_millis: Option<i32>

The amount of time in milliseconds it took for the client to establish a connection with the XMPP server.

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

android_network_subtype: Option<i32>

The Android network subtype.

android_network_type: Option<i32>

The Android network type.

Trait Implementations

impl Part for NetworkDiagnostics[src]

impl Default for NetworkDiagnostics[src]

impl Clone for NetworkDiagnostics[src]

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

Performs copy-assignment from source. Read more

impl Debug for NetworkDiagnostics[src]

impl Serialize for NetworkDiagnostics[src]

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