Crate query_params_macro

Crate query_params_macro 

Source
Expand description

QueryParams is a procedural macro for deriving a Hyper-centric representation of a struct as query parameters that can be easily appended as query parameters in the Hyper framework. This crate is only meant to be tested and re-exported by the QueryParams crate, and is not meant for direct consumption.

Derive Macrosยง

QueryParams
QueryParams derives fn to_query_params(&self) -> Vec<(String, String)> for any struct with field values supporting .to_string().