(self)
| 55 | impl Reply for BareJson { |
| 56 | #[inline] |
| 57 | fn into_response(self) -> reply::Response { |
| 58 | let mut resp = reply::Response::new(self.inner.into()); |
| 59 | resp.headers_mut().typed_insert(ContentType::from( |
| 60 | Mime::from_str("application/json").unwrap(), |
| 61 | )); |
| 62 | resp |
| 63 | } |
| 64 | } |
nothing calls this directly
no outgoing calls
no test coverage detected