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.

Trait Implementations

impl Debug for Channel
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.