pub trait ApiResponseExt {
// Required method
fn into_api_result<T, E>(self) -> Result<Result<T, E>>
where T: DeserializeOwned,
E: DeserializeOwned;
}Available on crate feature
json only.Expand description
Extension trait for Response.
Required Methods§
Sourcefn into_api_result<T, E>(self) -> Result<Result<T, E>>where
T: DeserializeOwned,
E: DeserializeOwned,
fn into_api_result<T, E>(self) -> Result<Result<T, E>>where
T: DeserializeOwned,
E: DeserializeOwned,
See into_api_result.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".