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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Tag
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Tag
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Tag

impl Sync for Tag