mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-23 07:39:25 +01:00
10 lines
157 B
Rust
10 lines
157 B
Rust
|
use axum_macros::FromRequest;
|
||
|
|
||
|
#[derive(FromRequest)]
|
||
|
#[from_request(rejection_derive(!Error, !Error))]
|
||
|
struct Extractor {
|
||
|
body: String,
|
||
|
}
|
||
|
|
||
|
fn main() {}
|