Function pact_models::content_types::detect_content_type_from_string
source · [−]pub fn detect_content_type_from_string(s: &str) -> Option<ContentType>
Expand description
Try detect the content type from the contents of a string