Struct twitch_message::Tags
source · pub struct Tags<'a> { /* private fields */ }
Expand description
Tags are metadata attached to many Twitch messages.
These provide a wide assortment of additional data per message.
Its basically a mapping of a key
-> value
Implementations§
Trait Implementations§
source§impl<'de, 'a> Deserialize<'de> for Tags<'a>
impl<'de, 'a> Deserialize<'de> for Tags<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> IntoStatic for Tags<'a>where
'static: 'a,
impl<'a> IntoStatic for Tags<'a>where
'static: 'a,
§type Output = Tags<'static>
type Output = Tags<'static>
Output of
IntoStatic::into_static
. Read moresource§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
This method casts
self
between Self<'a>
and Self<'static>
.