Crate query_params_macro
source ·Expand description
QueryParams is a procedural macro for deriving a Hyper
-centric representation
of that struct as query parameters that can be easily appended to 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
derivesfn to_query_params(&self) -> Vec<(String, String)>
for any struct with field values supporting.to_string()
.