| Crates.io | immortal_axum_macro |
| lib.rs | immortal_axum_macro |
| version | 0.3.0 |
| created_at | 2024-04-11 12:39:46.950394+00 |
| updated_at | 2024-06-15 07:22:22.366307+00 |
| description | a simple into response derive for axum |
| homepage | |
| repository | https://github.com/LyunKi/into-response-derive |
| max_upload_size | |
| id | 1204800 |
| size | 3,138 |
a simple proc macro for Axum IntoResponse trait
#[derive(Serialize, Deserialize, IntoResponse, Debug)]
pub struct ErrorResponse {
pub code: String,
pub msg: String,
pub errors: Vec<ErrorResponse>,
}