pub fn as_str(&self) -> &'static str {
        match self {
            MediaType::PlainText => "text/plain",
        }
    }
/// Returns a static string representation of the object.
Returns a static string representation of the object.
Returns a static string representation of the object .
pub fn as_str(&self) -> &'static str {
        match self {
            MediaType::PlainText => "text/plain",
        }
    }
pub fn as_str ( & self ) -> & ' static str { match self { MediaType :: PlainText => " " , } }
Returns a static string representation of the object.
Returns a static string representation of the object .
&self
&self