Skip to main content

build_query_params

Function build_query_params 

Source
pub fn build_query_params(
    params: &[ApiParam],
    args: &Map<String, Value>,
) -> Vec<(String, String)>
Expand description

Extracts query parameters from args for params with location == Query.

Returns key-value pairs suitable for reqwest::RequestBuilder::query(). String values are used directly; other types are converted via to_string().