Allow to convert an arbitrary type into a API JSON response
simply adding .into_json_response().
For Alkane, adding FailureResponse trait to handle the errort part of a Result.
Ref T2133
Differential D3718
Support .into_json_response() with Axum Authored by dereckson on Sep 24 2025, 17:41. Tags None Referenced Files
Subscribers None
Details
Allow to convert an arbitrary type into a API JSON response For Alkane, adding FailureResponse trait to handle the errort part of a Result. Ref T2133 Tested with D3717 for Alkane
Diff Detail
|