[−][src]Struct hexchat::ChannelInfo
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>
Trait Implementations
impl Deref for ChannelInfo
[src]
type Target = ChannelRef
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Auto Trait Implementations
impl !Send for ChannelInfo
impl !Sync for ChannelInfo
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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
try_from
)The type returned in the event of a conversion error.