pub trait GetRequest: Serialize + Debug {
    type Response: TryInto<Self::Output, Error = Error> + DeserializeOwned;
    type Output;

    fn endpoint(&self) -> Cow<'static, str>;
}
Expand description

Represents a GET request.

Required Associated Types

The type returned by the Scoop.it API.

It must be converible to this trait Output type.

The type returned by the client

Required Methods

Implementors