Module example_webserver_rs::structs
source · Expand description
Enable to parse request/response JSONs into the following object structs.
Structs§
- Implements app state struct.
- Needs to implement
serde::Deserialize
trait in order to use it as proper handler extractor - Needs to implement
serde::Serialize
trait in order to use it as proper json Response object.