mirror of
https://github.com/tokio-rs/axum.git
synced 2025-10-02 15:24:54 +00:00
9 lines
104 B
Rust
9 lines
104 B
Rust
use axum::extract::FromRef;
|
|
|
|
#[derive(Clone, FromRef)]
|
|
struct AppState<T> {
|
|
foo: T,
|
|
}
|
|
|
|
fn main() {}
|