into_response_derive

Crates.iointo_response_derive
lib.rsinto_response_derive
version0.2.0
sourcesrc
created_at2022-02-22 11:20:18.388436
updated_at2024-03-31 09:39:54.933084
descriptiona simple into response derive for axum
homepage
repositoryhttps://github.com/LyunKi/into-response-derive
max_upload_size
id537211
size3,218
(LyunKi)

documentation

README

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>,
}
Commit count: 5

cargo fmt