pub trait ClientInfo<Inner> {
// Required methods
fn api_version() -> &'static str;
fn baseurl(&self) -> &str;
fn client(&self) -> &Client;
fn inner(&self) -> &Inner;
}
Expand description
Interface for which an implementation is generated for all clients.
Required Methods§
Sourcefn api_version() -> &'static str
fn api_version() -> &'static str
Get the version of this API.
This string is pulled directly from the source OpenAPI document and may be in any format the API selects.
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.