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

Class Info

cors/backend/src/user.rs:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3
4#[derive(Deserialize, Serialize, Debug)]
5pub struct Info {
6 username: String,
7 email: String,
8 password: String,
9 confirm_password: String,
10}
11
12#[post("/user/info")]
13pub async fn info(info: web::Json<Info>) -> web::Json<Info> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected