Struct google_games1::RoomLeaveDiagnostics [−][src]
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 Default for RoomLeaveDiagnostics
[src]
impl Default for RoomLeaveDiagnostics
fn default() -> RoomLeaveDiagnostics
[src]
fn default() -> RoomLeaveDiagnostics
Returns the "default value" for a type. Read more
impl Clone for RoomLeaveDiagnostics
[src]
impl Clone for RoomLeaveDiagnostics
fn clone(&self) -> RoomLeaveDiagnostics
[src]
fn clone(&self) -> RoomLeaveDiagnostics
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 RoomLeaveDiagnostics
[src]
impl Debug for RoomLeaveDiagnostics
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 RoomLeaveDiagnostics
[src]
impl Part for RoomLeaveDiagnostics
Auto Trait Implementations
impl Send for RoomLeaveDiagnostics
impl Send for RoomLeaveDiagnostics
impl Sync for RoomLeaveDiagnostics
impl Sync for RoomLeaveDiagnostics