| 3 | |
| 4 | #[derive(Debug, Serialize, Deserialize)] |
| 5 | struct MyObj { |
| 6 | name: String, |
| 7 | number: i32, |
| 8 | } |
| 9 | |
| 10 | /// This handler uses json extractor |
| 11 | async fn index(item: web::Json<MyObj>) -> HttpResponse { |
nothing calls this directly
no outgoing calls
no test coverage detected