pub struct Tag(pub String, pub Option<String>);
Expand description
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.
Tuple Fields§
§0: String
§1: Option<String>
Trait Implementations§
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more