mirror of
https://github.com/tokio-rs/axum.git
synced 2025-10-01 15:00:46 +00:00
10 lines
137 B
Rust
10 lines
137 B
Rust
use axum::Json;
|
|
use axum_macros::debug_handler;
|
|
|
|
struct Struct {}
|
|
|
|
#[debug_handler]
|
|
async fn handler(foo: Json<Struct>) {}
|
|
|
|
fn main() {}
|