pub trait SerializeParams {
type Key: Display;
type Value: Display;
type Iterator: Iterator<Item = (Self::Key, Self::Value)>;
// Required method
fn serialize_params(self) -> Self::Iterator;
}Expand description
Represents a value that can be serialized.
The Extras type parameter must implement this for Uri to be displayable.
Required Associated Types§
Required Methods§
Sourcefn serialize_params(self) -> Self::Iterator
fn serialize_params(self) -> Self::Iterator
Constructs the iterator over key-value pairs.