Crate to_query

source ·
Expand description

Structure to HTTP GET Query Parameters

Derive Macros§

  • STQuery created a function to quickly convert the struct into HTTP GET query parameters; By setting use to_query::STQuery; and tagging #[derive(STQuery)] onto the structure, a new function get_query() -> String is added to the structure, facilitating the generation of the query parameter string.