pub trait CanToHttpResponse<T> {
// Required method
fn to_http_response_with_error_mapping(
&self,
http_status: HttpKindResponse,
) -> HttpResponse;
}
pub trait CanToHttpResponse<T> {
// Required method
fn to_http_response_with_error_mapping(
&self,
http_status: HttpKindResponse,
) -> HttpResponse;
}