Trait ApiType
Source pub trait ApiType {
// Required method
fn get_path<'a>(&'a self) -> Cow<'a, str>;
}
Expand description
Describes the type of a Matrix API.
Get the base path which all requests to this API should contain.
For example, ClientApi, the struct for the client-server API, sets
this method to return /_matrix/client/r0