[][src]Struct hexchat::ChannelInfo

pub struct ChannelInfo { /* fields omitted */ }

A full set of information about an IRC channel.

Methods

impl ChannelInfo[src]

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

Gets the channel name.

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

Gets the channel key, or None if unknown.

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

Gets the chanmode string for the channel.

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

Gets the chantype string for the channel.

pub fn get_flags(&self) -> ChannelFlags[src]

Gets various flags about the channel.

pub fn get_id(&self) -> i32[src]

Gets the server ID.

pub fn get_lag_ms(&self) -> u32[src]

Gets the current latency in milliseconds.

pub fn get_max_modes_per_line(&self) -> u32[src]

Gets the maximum number of channel modes that can be sent on a single line.

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

Gets the name of the network.

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

Gets the client's prefix string for their nickname, usually corresponding to operator or voice.

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

Gets the client's user mode string.

pub fn get_send_queue_size(&self) -> u32[src]

Gets the number of bytes in the send queue.

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

Gets the name of the server.

pub fn get_type(&self) -> ChannelType[src]

Gets the type of channel this is.

pub fn get_user_count(&self) -> u32[src]

Gets the number of users currently in the channel.

Methods from Deref<Target = ChannelRef>

pub fn get_info(&self) -> Option<ChannelInfo>[src]

Turns this ChannelRef into a ChannelInfo, or None if the channel represented by this ChannelRef is no longer valid.

Trait Implementations

impl Clone for ChannelInfo[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<ChannelInfo> for ChannelInfo[src]

impl Eq for ChannelInfo[src]

impl Debug for ChannelInfo[src]

impl Deref for ChannelInfo[src]

type Target = ChannelRef

The resulting type after dereferencing.

Auto Trait Implementations

impl !Send for ChannelInfo

impl !Sync for ChannelInfo

Blanket Implementations

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

impl<T> From for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

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.

impl<T> Erased for T