Expand description
§API Response Library
This library provides a consistent structure for API responses, including success and error handling, with support for various serialization formats like JSON and Protobuf.
§Modules
meta
: Contains the meta structures.success
: Contains the success response structures.error
: Contains the error handling structures.
Re-exports§
pub use error::ErrorInfo;
pub use error::ErrorResponse;
pub use meta::DefaultMeta;
pub use meta::Links;
pub use success::SuccessResponse;
Modules§
Enums§
- Enum to represent the overall API response
Traits§
- A data structure that can be deserialized from any data format supported by Serde.
- A data structure that can be deserialized without borrowing any data from the deserializer.
- A data structure that can be serialized into any data format supported by Serde.