Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/actix/examples
/ Info
Class
Info
json/json-decode-error/src/main.rs:5–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
4
#[derive(Debug, Deserialize)]
5
struct Info {
6
name: String,
7
}
8
9
#[post(
"/"
)]
10
async fn greet(name: web::Json<Info>) -> impl Responder {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected