pub trait FromResponse {
// Required method
fn from_response(
response: ApiResponse,
has_body: bool,
) -> Result<Self, StructureError>
where Self: Sized;
}Required Methods§
fn from_response(
response: ApiResponse,
has_body: bool,
) -> Result<Self, StructureError>where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".