pub struct Client { /* private fields */ }Implementations§
Source§impl Client
impl Client
pub async fn new(client: ClientInformation) -> Result<Self, Errors>
pub async fn make_request<I, K, V>( &mut self, path: &str, method: Method, parameters: Option<I>, ) -> Result<Response, Errors>
pub async fn make_request_w_body<I, K, V>( &mut self, path: &str, method: Method, parameters: Option<I>, body: String, ) -> Result<Response, Errors>
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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