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

Class HttpData

middleware/http-response/src/main.rs:10–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9#[derive(Debug, Serialize, Deserialize)]
10pub struct HttpData {
11 pub data: String,
12}
13// this implementation is optional
14impl Default for HttpData {
15 fn default() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected