Struct ajars_client_reqwest::AjarsClientReqwest
source · pub struct AjarsClientReqwest { /* private fields */ }
Implementations§
source§impl AjarsClientReqwest
impl AjarsClientReqwest
pub fn new<S: Into<String>>(client: Client, base_url: S) -> Self
pub fn request<'a, I: Serialize + DeserializeOwned, O: Serialize + DeserializeOwned, REST: RestType<I, O>>( &self, rest: &'a REST ) -> RequestBuilder<'a, I, O, REST>
Trait Implementations§
source§impl Clone for AjarsClientReqwest
impl Clone for AjarsClientReqwest
source§fn clone(&self) -> AjarsClientReqwest
fn clone(&self) -> AjarsClientReqwest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AjarsClientReqwest
impl !RefUnwindSafe for AjarsClientReqwest
impl Send for AjarsClientReqwest
impl Sync for AjarsClientReqwest
impl Unpin for AjarsClientReqwest
impl !UnwindSafe for AjarsClientReqwest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more