[][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.

Trait Implementations

impl Clone for UserInfo[src]

impl Debug for UserInfo[src]

impl Eq for UserInfo[src]

impl PartialEq<UserInfo> for UserInfo[src]

impl StructuralEq for UserInfo[src]

impl StructuralPartialEq for UserInfo[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> Erased for T

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.