Skip to main content

query

Function query 

Source
pub fn query<T: Serialize>(message: &T, skip: &[&str]) -> Result<Query, Error>
Expand description

The fields of message as query parameters, by their JSON paths, leaving out the fields skip names and fields at their default value. A nested field is sent by its dotted path, a repeated one as one parameter per element. The generated clients send the fields their method’s path and body don’t carry this way.