Struct hiirc::Channel [] [src]

pub struct Channel {
    // some 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.

Trait Implementations

impl Debug for Channel
[src]

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

Formats the value using the given formatter.