Function build_http_url_from_struct

Source
pub fn build_http_url_from_struct<'de, T>(ip: &String) -> String
where T: Deserialize<'de>,
Expand description

Builds the HTTP url for a request. The fields are automatically extracted from the struct.

§Arguments

  • ip - The IP address to query for.

§Returns

A String containing the url for the request.