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 dereckson on Wed, Sep 24, 17:41. Authored by Tags None Referenced Files None 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
|