[−][src]Module kapitalist_types::response
Response types that are returned from the backend.
All responses derive both serde::Serialize
and serde::Deserialize
to allow conversion from
and to JSON in both backend and frontends.
Structs
ErrorResponse | Generic error response with an error message indicating what went wrong |
TokenResponse | Response containing the requested authentication token |
VersionResponse | Response containing the version of the backend |