Skip to main content

parse_content_type

Function parse_content_type 

Source
pub fn parse_content_type(s: &str) -> ContentType
Expand description

Parse a content-type string (“text” | “markdown” | “structured”).