Trait ajars::RestType [−][src]
pub trait RestType<I, O> where
I: Serialize + DeserializeOwned,
O: Serialize + DeserializeOwned, {
fn path(&self) -> &str;
fn method(&self) -> &HttpMethod;
fn build<P>(method: HttpMethod, path: P) -> RestFluent<I, O>
where
P: Into<String>,
{ ... }
}