pub struct ApiClient<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ApiClient<'a>
impl<'a> ApiClient<'a>
pub const fn new(credential: Credential<'a>, inner: TalkHttpClient<'a>) -> Self
pub fn request( self, method: Method, end_point: &str, ) -> RequestResult<RequestBuilder>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ApiClient<'a>
impl<'a> !RefUnwindSafe for ApiClient<'a>
impl<'a> Send for ApiClient<'a>
impl<'a> Sync for ApiClient<'a>
impl<'a> Unpin for ApiClient<'a>
impl<'a> !UnwindSafe for ApiClient<'a>
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