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>, { ... } }
Required methods
Provided methods
fn build<P>(method: HttpMethod, path: P) -> RestFluent<I, O> where
P: Into<String>,
Implementors
impl<I, O> RestType<I, O> for Rest<I, O> where
I: Serialize + DeserializeOwned,
O: Serialize + DeserializeOwned,
impl<I, O> RestType<I, O> for RestFluent<I, O> where
I: Serialize + DeserializeOwned,
O: Serialize + DeserializeOwned,