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 prelude::*;
Modules§
Macros§
- Quickly create an
ApiError
builderApiErr
and collect error code mode information. - Quickly create an
ApiError
builderApiErrX
and collect error code mode information.
Enums§
- Enum to represent the overall API response