Crate mime2

source
Expand description
let text = mime2::text::PLAIN;
assert_eq!(text.ttype, "text");
assert_eq!(text.subtype,"plain");
assert_eq!(text.to_string(),"text/plain");

Modules§

Structs§