Re-exports§
pub use crate::ApiResponse;
pub use crate::error_code;
pub use crate::error_code::ety_grpc;
Macros§
- api_err
- Quickly create an
ApiError
builderApiErr
and collect error code mode information.
Structs§
- ApiError
- Struct to represent error information
- Cost
- Cost and cost statistics.
- Default
Meta - Default meta type
- ErrWrapper
- Error
Response - Struct to represent an error response
- Pagination
- Pagination information.
- Rate
Limit - Rate limiting information.
- Success
Response - Struct to represent a successful response
- User
Meta - The user’s permission information and so on.
Enums§
Traits§
- ApiSuccess
Response - Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- Deserialize
Owned - A data structure that can be deserialized without borrowing any data from the deserializer.
- Into
Error - Serialize
- A data structure that can be serialized into any data format supported by Serde.