pub type JsonResult<T, E = Nothing> = Result<JsonResponse<T>, JsonError<E>>;
Aliased Type§
pub enum JsonResult<T, E = Nothing> {
Ok(JsonResponse<T>),
Err(JsonError<E>),
}
pub type JsonResult<T, E = Nothing> = Result<JsonResponse<T>, JsonError<E>>;
pub enum JsonResult<T, E = Nothing> {
Ok(JsonResponse<T>),
Err(JsonError<E>),
}