pub trait Request {
type Response: DeserializeOwned + Debug + Send;
// Required method
fn url(&self) -> Cow<'static, str>;
}Expand description
Trait that requests have to implement.
pub trait Request {
type Response: DeserializeOwned + Debug + Send;
// Required method
fn url(&self) -> Cow<'static, str>;
}Trait that requests have to implement.