pub trait RequestURL: ToString {
type Response: DeserializeOwned;
// Provided method
fn get(&self) -> impl Future<Output = Result<Self::Response>>
where Self: Sized { ... }
}Expand description
A type in which you can request the response from its URL