pub trait Request {
type Key: AsRef<str>;
type Value: Display;
// Required method
fn into_pairs(self) -> Vec<(Self::Key, Self::Value)>;
}
Expand description
Trait implemented for all accepted payload types.
It is just a nice wrapper for hiding a slightly more complex type constraint behind.