Trait oauth1_request::Request[][src]

pub trait Request {
    fn serialize<S>(&self, serializer: S) -> S::Output
    where
        S: Serializer
; }
Expand description

Types that represent an HTTP request to be authorized with OAuth.

Request is an abstraction of a sequence of key-value pairs of a query part of a URI and x-www-form-urlencoded string.

This trait can be implemented automatically by #[derive(Request)] derive macro. In most cases, you won’t need to implement it manually.

Required methods

Feeds a Serializer implementation with the key-value pair of the request and returns the serializer’s output.

Implementations on Foreign Types

Authorizes a request with no query pairs.

Implementors