Trait ajars_core::RestType
source · pub trait RestType<I: Serialize + DeserializeOwned, O: Serialize + DeserializeOwned> {
// Required methods
fn path(&self) -> &str;
fn method(&self) -> &HttpMethod;
// Provided method
fn build<P: Into<String>>(method: HttpMethod, path: P) -> RestFluent<I, O> { ... }
}
Required Methods§
Provided Methods§
fn build<P: Into<String>>(method: HttpMethod, path: P) -> RestFluent<I, O>
Object Safety§
This trait is not object safe.