unhtml
There are two trait in crate unhtml
FromHtml
The only method of FromHtml you should care about is fn from_html(html: &str) -> Result<Self, Error> and this method is implemented for all types implemented FromStr<E, T>
You can implement FromHtml automatically for struct by crate unhtml_derive
VecFromHtml
VecFromHtml is implemented for Vec<T> where T: FromHtml by default
As FromHtml is implemented for u8 by default
use Html;
use VecFromHtml;
let html = parse_fragment;
let results = Vec::from_attr.unwrap;
assert_eq!;
assert_eq!;
assert_eq!;