lotr_api::request

Trait GetUrl

Source
pub trait GetUrl {
    // Required method
    fn get_url(&self) -> String;
}
Expand description

This trait is implemented by all structs that can be used to make a request to the API. It is used to get the url for the request.

Required Methods§

Source

fn get_url(&self) -> String

Returns the url that represents the struct’s part of the request.

Implementors§