pub trait Query {
    fn endpoint(&self) -> Cow<'static, str>;

    fn params(&self) -> QueryParams<'_> { ... }
    fn body(&self) -> Result<Option<&'static str>, &'static str> { ... }
}

Required Methods

Making HTTP request to this endpoint.

Provided Methods

Optional. Array of key value pairs.

Optional. Generally a &'static str serialized by serde_json.

Implementors