Type Definition minerva_rest::controller::response::RestResult
source · [−]pub type RestResult<T> = Result<Json<T>, ErrorResponse>;
Expand description
Generic Result type for responses on REST routes.
pub type RestResult<T> = Result<Json<T>, ErrorResponse>;
Generic Result type for responses on REST routes.