[][src]Struct hexchat::UserInfo

pub struct UserInfo { /* fields omitted */ }

Information about another user.

Methods

impl UserInfo[src]

pub fn get_account_name(&self) -> Option<&str>[src]

Gets the account name of the user, or None if not set.

pub fn is_away(&self) -> bool[src]

Gets whether or not the user is marked away.

pub fn get_time_last_posted(&self) -> DateTime<Utc>[src]

Gets the last time this user sent a message.

pub fn get_nick(&self) -> &str[src]

Gets this user's nick.

pub fn get_host_string(&self) -> &str[src]

Gets this user's hostmask string.

pub fn get_prefix(&self) -> char[src]

Gets the nickname prefixes applied to this user.

pub fn get_real_name(&self) -> Option<&str>[src]

Gets this user's real name field, or None if not set.

pub fn is_selected(&self) -> bool[src]

Gets whether this user is selected in the user list, if they're in the currently focused tab.

Auto Trait Implementations

impl Send for UserInfo

impl Sync for UserInfo

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 = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.