[][src]Struct tsproto_commands::messages::s2c::ClientInfoPart

pub struct ClientInfoPart<'a> {
    pub client_idle_time: Duration,
    pub client_version: &'a str,
    pub client_version_sign: &'a str,
    pub client_platform: &'a str,
    pub default_channel: &'a str,
    pub security_hash: &'a str,
    pub login_name: &'a str,
    pub default_token: &'a str,
    pub filetransfer_bandwidth_sent: u64,
    pub filetransfer_bandwidth_received: u64,
    pub packets_sent_total: u64,
    pub packets_received_total: u64,
    pub bytes_sent_total: u64,
    pub bytes_received_total: u64,
    pub bandwidth_sent_last_second_total: u64,
    pub bandwidth_received_last_second_total: u64,
    pub bandwidth_sent_last_minute_total: u64,
    pub bandwidth_received_last_minute_total: u64,
    pub connected_time: Duration,
    pub ip: &'a str,
    pub channel_id: ChannelId,
    pub uid: UidRef<'a>,
    pub database_id: ClientDbId,
    pub name: &'a str,
    pub client_type: ClientType,
    pub input_muted: bool,
    pub output_muted: bool,
    pub output_only_muted: bool,
    pub input_hardware_enabled: bool,
    pub output_hardware_enabled: bool,
    pub metadata: &'a str,
    pub is_recording: bool,
    pub channel_group: ChannelGroupId,
    pub inherited_channel_group_from_channel: ChannelId,
    pub server_groups: Vec<ServerGroupId>,
    pub is_away: bool,
    pub away_message: &'a str,
    pub talk_power: i32,
    pub talk_power_request_time: DateTime<Utc>,
    pub talk_power_request_message: &'a str,
    pub talk_power_granted: bool,
    pub is_priority_speaker: bool,
    pub unread_messages: u32,
    pub phonetic_name: &'a str,
    pub needed_serverquery_view_power: i32,
    pub is_channel_commander: bool,
    pub country_code: &'a str,
    pub badges: &'a str,
    pub creation_date: DateTime<Utc>,
    pub last_connected: DateTime<Utc>,
    pub total_connections: i32,
    pub monthly_upload_quota: i64,
    pub monthly_download_quota: i64,
    pub total_upload_quota: i64,
    pub total_download_quota: i64,
    pub base64_hash_client_uid: &'a str,
    pub avatar_hash: &'a str,
    pub description: &'a str,
    pub icon_id: IconHash,
    pub my_team_speak_id: Option<&'a str>,
    pub integrations: Option<&'a str>,
    pub phantom: PhantomData<&'a ()>,
}

Fields

client_idle_time: Durationclient_version: &'a strclient_version_sign: &'a strclient_platform: &'a strdefault_channel: &'a str

client_default_channel in TeamSpeak.

security_hash: &'a str

client_security_hash in TeamSpeak.

login_name: &'a str

client_login_name in TeamSpeak.

default_token: &'a str

client_default_token in TeamSpeak.

filetransfer_bandwidth_sent: u64

connection_filetransfer_bandwidth_sent in TeamSpeak.

filetransfer_bandwidth_received: u64

connection_filetransfer_bandwidth_received in TeamSpeak.

packets_sent_total: u64

connection_packets_sent_total in TeamSpeak.

packets_received_total: u64

connection_packets_received_total in TeamSpeak.

bytes_sent_total: u64

connection_bytes_sent_total in TeamSpeak.

bytes_received_total: u64

connection_bytes_received_total in TeamSpeak.

bandwidth_sent_last_second_total: u64

connection_bandwidth_sent_last_second_total in TeamSpeak.

bandwidth_received_last_second_total: u64

connection_bandwidth_received_last_second_total in TeamSpeak.

bandwidth_sent_last_minute_total: u64

connection_bandwidth_sent_last_minute_total in TeamSpeak.

bandwidth_received_last_minute_total: u64

connection_bandwidth_received_last_minute_total in TeamSpeak.

connected_time: Duration

connection_connected_time in TeamSpeak.

ip: &'a str

connection_client_ip in TeamSpeak.

channel_id: ChannelId

cid in TeamSpeak.

uid: UidRef<'a>

client_unique_identifier in TeamSpeak.

database_id: ClientDbId

client_database_id in TeamSpeak.

name: &'a str

client_nickname in TeamSpeak.

client_type: ClientTypeinput_muted: bool

client_input_muted in TeamSpeak.

output_muted: bool

client_output_muted in TeamSpeak.

output_only_muted: bool

client_outputonly_muted in TeamSpeak.

input_hardware_enabled: bool

client_input_hardware in TeamSpeak.

output_hardware_enabled: bool

client_output_hardware in TeamSpeak.

metadata: &'a str

client_meta_data in TeamSpeak.

is_recording: bool

client_is_recording in TeamSpeak.

channel_group: ChannelGroupId

client_channel_group_id in TeamSpeak.

inherited_channel_group_from_channel: ChannelId

client_channel_group_inherited_channel_id in TeamSpeak.

server_groups: Vec<ServerGroupId>

client_servergroups in TeamSpeak.

is_away: bool

client_away in TeamSpeak.

away_message: &'a str

client_away_message in TeamSpeak.

talk_power: i32

client_talk_power in TeamSpeak.

talk_power_request_time: DateTime<Utc>

client_talk_request in TeamSpeak.

talk_power_request_message: &'a str

client_talk_request_msg in TeamSpeak.

talk_power_granted: bool

client_is_talker in TeamSpeak.

is_priority_speaker: bool

client_is_priority_speaker in TeamSpeak.

unread_messages: u32

client_unread_messages in TeamSpeak.

phonetic_name: &'a str

client_nickname_phonetic in TeamSpeak.

needed_serverquery_view_power: i32

client_needed_serverquery_view_power in TeamSpeak.

is_channel_commander: bool

client_is_channel_commander in TeamSpeak.

country_code: &'a str

client_country in TeamSpeak.

badges: &'a str

client_badges in TeamSpeak.

creation_date: DateTime<Utc>

client_created in TeamSpeak.

last_connected: DateTime<Utc>

client_lastconnected in TeamSpeak.

total_connections: i32

client_totalconnections in TeamSpeak.

monthly_upload_quota: i64

client_month_bytes_uploaded in TeamSpeak.

monthly_download_quota: i64

client_month_bytes_downloaded in TeamSpeak.

total_upload_quota: i64

client_total_bytes_uploaded in TeamSpeak.

total_download_quota: i64

client_total_bytes_downloaded in TeamSpeak.

base64_hash_client_uid: &'a str

client_base64HashClientUID in TeamSpeak.

avatar_hash: &'a str

client_flag_avatar in TeamSpeak.

description: &'a str

client_description in TeamSpeak.

icon_id: IconHash

client_icon_id in TeamSpeak.

my_team_speak_id: Option<&'a str>

client_myteamspeak_id in TeamSpeak.

integrations: Option<&'a str>

client_integrations in TeamSpeak.

phantom: PhantomData<&'a ()>

Trait Implementations

impl<'a> Debug for ClientInfoPart<'a>[src]

Auto Trait Implementations

impl<'a> Send for ClientInfoPart<'a>

impl<'a> Sync for ClientInfoPart<'a>

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> Erased for T

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> Same for T

type Output = T

Should always be Self