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

Function index

forms/form/src/main.rs:33–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33async fn index() -> Result<HttpResponse> {
34 Ok(HttpResponse::Ok()
35 .content_type("text/html; charset=utf-8")
36 .body(include_str!("../static/form.html")))
37}
38
39#[derive(Serialize, Deserialize)]
40pub struct MyParams {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected