Read param with multiple values in axum

Could anybody advice how I could read parameter with multiple values in Axum?
So that to parse link as below:


You have to use the Query extractor and deserialize the expected query parameters into a data structure: Query in axum::extract - Rust

Edit: I'm not sure about the conventions followed by Axum in the case of multiple query parameters for the same parameter. This is not a standard case and web frameworks may or may not handle it. If you have control over the client, then don't use query parameters like this.

Thanks, I've found solution. To read in vec and parse from there:

pub async fn get_param_with_multi_values(
    Query(params): Query<Vec<(String, String)>>
) -> String {
    format!("params: {:?}", params)