pub trait ApiClientImpl: ODataQuery + Sized {
    // Required methods
    fn url(&self) -> Url;
    fn render_path<S: AsRef<str>>(
        &self,
        path: S,
        path_params_map: &Value
    ) -> GraphResult<String>;

    // Provided method
    fn build_url<S: AsRef<str>>(
        &self,
        path: S,
        path_params_map: &Value
    ) -> GraphResult<Url> { ... }
}

Required Methods§

source

fn url(&self) -> Url

source

fn render_path<S: AsRef<str>>( &self, path: S, path_params_map: &Value ) -> GraphResult<String>

Provided Methods§

source

fn build_url<S: AsRef<str>>( &self, path: S, path_params_map: &Value ) -> GraphResult<Url>

Object Safety§

This trait is not object safe.

Implementors§