Trait osauth::QueryItem

source ·
pub trait QueryItem {
    // Required method
    fn query_item(&self) -> Result<(&str, Cow<'_, str>), Error>;
}
Expand description

An item in a query.

Required Methods§

source

fn query_item(&self) -> Result<(&str, Cow<'_, str>), Error>

Represent the item for serialization into a query.

The first item of the resulting tuple is a key, the second - its value.

Implementors§