Struct hiirc::Channel
[−]
[src]
pub struct Channel { pub name: String, pub topic: Option<String>, // some fields omitted }
Represents a channel.
Fields
name: String
Name of the channel.
topic: Option<String>
Topic of the channel.
Methods
impl Channel
[src]
fn get_user(&self, nickname: &str) -> Option<&ChannelUser>
Get a user by nickname from this channel.
fn users(&self) -> Iter<ChannelUser>
Get an iterator that iterates over the channel's users.