pub struct AjarsWeb { /* private fields */ }
Implementations
sourceimpl AjarsWeb
impl AjarsWeb
pub fn new<P: Into<String>>(base_url: P) -> Result<AjarsWeb, Error>
pub fn new_with_interceptor<P: Into<String>>(
base_url: P,
interceptor: Rc<dyn Interceptor>
) -> Result<AjarsWeb, Error>
pub fn request<'a, I: Serialize + DeserializeOwned, O: Serialize + DeserializeOwned, REST: RestType<I, O>>(
&'a self,
rest: &'a REST
) -> RequestBuilder<'a, I, O, REST>
Auto Trait Implementations
impl !RefUnwindSafe for AjarsWeb
impl !Send for AjarsWeb
impl !Sync for AjarsWeb
impl Unpin for AjarsWeb
impl !UnwindSafe for AjarsWeb
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more