[][src]Enum twitchchat::TagType

pub enum TagType<'a> {
    Raw(&'a str),
    List(&'a Vec<(String, String)>),
    Map(&'a HashMap<String, String>),
}

A representation of IRCv3 tags, a raw string or a Vec of Key-Vals

Variants

Raw(&'a str)

Raw string

List(&'a Vec<(String, String)>)

List of Key -> Values (owned)

Map(&'a HashMap<String, String>)

Map of Key -> Values (owned)

Auto Trait Implementations

impl<'a> Send for TagType<'a>

impl<'a> Sync for TagType<'a>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.