MCPcopy Create free account
hub / github.com/actix/examples / AppState

Class AppState

forms/form/src/main.rs:4–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2use serde::{Deserialize, Serialize};
3
4struct AppState {
5 foo: String,
6}
7
8#[actix_web::main]
9async fn main() -> std::io::Result<()> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected