pub fn post_json<F, Fut, Res, T>(handler: F) -> MethodHandlerwhere
F: Fn(T) -> Fut + Send + Sync + 'static,
Fut: Future<Output = Res> + Send + 'static,
Res: IntoResponse + 'static,
T: DeserializeOwned + Send + 'static,Expand description
创建 POST JSON 路由