[−][src]Trait twitchchat::commands::Tagged
Tagged provides some helpers for getting tagged data out as reasonable types
Provided methods
fn get_as_bool(&self, key: &str) -> bool
Tries to get the value for key
as a bool, defaults to false if not found
fn get_parsed<E>(&self, key: &str) -> Option<E> where
E: FromStr,
E: FromStr,
Tries to parse (with FromStr::from_str) the value at key
Implementors
impl<T> Tagged for T where
T: Tag,
[src]
T: Tag,
fn get_as_bool(&self, key: &str) -> bool
[src]
fn get_parsed<E>(&self, key: &str) -> Option<E> where
E: FromStr,
[src]
E: FromStr,