mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-29 15:49:16 +01:00
a26ddd1063
Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
9 lines
137 B
Rust
9 lines
137 B
Rust
use axum::Json;
|
|
use axum_macros::debug_handler;
|
|
|
|
struct Struct {}
|
|
|
|
#[debug_handler]
|
|
async fn handler(foo: Json<Struct>) {}
|
|
|
|
fn main() {}
|