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

Class MyParams

forms/form/src/main.rs:40–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39#[derive(Serialize, Deserialize)]
40pub struct MyParams {
41 name: String,
42}
43
44/// Simple handle POST request
45async fn handle_post_1(params: web::Form<MyParams>) -> Result<HttpResponse> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected