Function pact_models::content_types::detect_content_type_from_string[][src]

pub fn detect_content_type_from_string(s: &String) -> Option<ContentType>
Expand description

Try detect the content type from the contents of a string