Function twitch_message::parse_as

source ·
pub fn parse_as<'a, T>(input: &'a str) -> Result<T, Error>where
    T: TypedMessageMarker<'a>,
Expand description

A helper parse function for parsing a string as a specific typed message

For available messages, see the structs in messages