Struct OnlineClientFull

Source
pub struct OnlineClientFull {
Show 29 fields pub clid: ClientId, pub cid: ChannelId, pub client_database_id: ClientDBId, pub client_nickname: String, pub client_type: i8, pub client_away: bool, pub client_away_message: Option<String>, pub client_flag_talking: bool, pub client_input_muted: bool, pub client_output_muted: bool, pub client_input_hardware: bool, pub client_output_hardware: bool, pub client_talk_power: i32, pub client_is_talker: bool, pub client_is_priority_speaker: bool, pub client_is_recording: bool, pub client_is_channel_commander: bool, pub client_unique_identifier: String, pub client_servergroups: Vec<ServerGroupID>, pub client_channel_group_id: ChannelGroupId, pub client_channel_group_inherited_channel_id: ChannelGroupId, pub client_version: String, pub client_platform: String, pub client_idle_time: i64, pub client_created: i64, pub client_lastconnected: i64, pub client_country: String, pub connection_client_ip: String, pub client_badges: Option<String>,
}

Fields§

§clid: ClientId§cid: ChannelId§client_database_id: ClientDBId§client_nickname: String§client_type: i8

0 For normal client, 1 for query

§client_away: bool§client_away_message: Option<String>§client_flag_talking: bool§client_input_muted: bool§client_output_muted: bool§client_input_hardware: bool§client_output_hardware: bool§client_talk_power: i32§client_is_talker: bool§client_is_priority_speaker: bool§client_is_recording: bool§client_is_channel_commander: bool§client_unique_identifier: String§client_servergroups: Vec<ServerGroupID>§client_channel_group_id: ChannelGroupId§client_channel_group_inherited_channel_id: ChannelGroupId§client_version: String§client_platform: String§client_idle_time: i64§client_created: i64§client_lastconnected: i64§client_country: String§connection_client_ip: String§client_badges: Option<String>

Trait Implementations§

Source§

impl Debug for OnlineClientFull

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.