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