Struct irc_message::IrcMessage [] [src]

pub struct IrcMessage<T: Eq + Hash> {
    pub tags: HashMap<T, T>,
    pub prefix: Option<T>,
    pub command: Option<T>,
    pub params: Vec<T>,
}

Fields

tags: HashMap<T, T> prefix: Option<T> command: Option<T> params: Vec<T>

Methods

impl IrcMessage<String>
[src]

impl<'a> IrcMessage<&'a str>
[src]

fn parse_ref(input: &'a str) -> Option<IrcMessage<&'a str>>

Trait Implementations

impl<T: Debug + Eq + Hash> Debug for IrcMessage<T>
[src]

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

Formats the value using the given formatter.