[−][src]Struct hexchat::UserInfo
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
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
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.