Struct irc::proto::message::Tag
[−]
[src]
pub struct Tag(pub String, pub Option<String>);
A message tag as defined by IRCv3.2. It consists of a tag key, and an optional value for the tag. Each message can contain a number of tags (in the string format, they are separated by semicolons). Tags are used to add extended information to a message under IRCv3.
Trait Implementations
impl Clone for Tag[src]
fn clone(&self) -> Tag[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for Tag[src]
fn eq(&self, __arg_0: &Tag) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Tag) -> bool[src]
This method tests for !=.