Trait subspedia_rs::Request[][src]

pub trait Request {
    type Response: DeserializeOwned + Debug + Send;
    fn url(&self) -> Cow<'static, str>;
}

Trait that requests have to implement.

Associated Types

Required Methods

Return api url based on type of response that are you looking for.

Implementors