pub struct APIClient { /* private fields */ }
Expand description
An API client used to call API methods
Creates a new APIClient
, given an access token
This method panics if native TLS backend cannot be created or initialized by the reqwest
crate.
See reqwest docs for more information.
Calls an API method, given its name and parameters
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.