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§
fn url(&self) -> Url
fn render_path<S: AsRef<str>>( &self, path: S, path_params_map: &Value, ) -> GraphResult<String>
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.