Struct google_games1::NetworkDiagnostics [−][src]
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 Default for NetworkDiagnostics
[src]
impl Default for NetworkDiagnostics
fn default() -> NetworkDiagnostics
[src]
fn default() -> NetworkDiagnostics
Returns the "default value" for a type. Read more
impl Clone for NetworkDiagnostics
[src]
impl Clone for NetworkDiagnostics
fn clone(&self) -> NetworkDiagnostics
[src]
fn clone(&self) -> NetworkDiagnostics
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for NetworkDiagnostics
[src]
impl Debug for NetworkDiagnostics
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for NetworkDiagnostics
[src]
impl Part for NetworkDiagnostics
Auto Trait Implementations
impl Send for NetworkDiagnostics
impl Send for NetworkDiagnostics
impl Sync for NetworkDiagnostics
impl Sync for NetworkDiagnostics