[][src]Struct talk_loco_commands::structs::client::ClientInfo

pub struct ClientInfo {
    pub os: String,
    pub net_type: i16,
    pub app_version: String,
    pub mccmnc: String,
}

Common client info struct

Fields

os: String

Current OS (win32, android, mac, etc.)

net_type: i16

Network type (0 for wired)

app_version: String

Official app version

mccmnc: String

Network MCCMNC ("999" for pc)

Trait Implementations

impl Clone for ClientInfo[src]

impl Debug for ClientInfo[src]

impl<'de> Deserialize<'de> for ClientInfo[src]

impl Serialize for ClientInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,