Struct irc_message::IrcMessage [] [src]

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

Fields

Methods

impl IrcMessage<String>
[src]

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

Trait Implementations

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

Formats the value using the given formatter.

impl<T: PartialEq + Eq + Hash + AsRef<str>> PartialEq for IrcMessage<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

impl<T: Clone + Eq + Hash + AsRef<str>> Clone for IrcMessage<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Eq + Hash + AsRef<str>> Display for IrcMessage<T>
[src]

Formats the value using the given formatter. Read more