Struct hiirc::Channel
[−]
[src]
pub struct Channel { /* fields omitted */ }
Channel
Methods
impl Channel
[src]
fn name(&self) -> &str
Get the name of the channel.
fn topic(&self) -> Option<Arc<String>>
Get the topic of the channel.
fn user(&self, nickname: &str) -> Option<Arc<ChannelUser>>
Get a ChannelUser object from this channel using the user's nickname.
fn users(&self) -> Vec<Arc<ChannelUser>>
Get the list of users in this channel.