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

Class HttpData

middleware/http-response/src/simple.rs:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct HttpData {
18 pub data: String,
19}
20// this implementation is optional
21impl Default for HttpData {
22 fn default() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected