mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-29 03:32:52 +01:00
9 lines
138 B
Rust
9 lines
138 B
Rust
use axum::Json;
|
|
use axum_macros::debug_handler;
|
|
|
|
struct Struct {}
|
|
|
|
#[debug_handler]
|
|
async fn handler(_foo: Json<Struct>) {}
|
|
|
|
fn main() {}
|