Struct rvk::api::APIClient

source ·
pub struct APIClient { /* private fields */ }
Expand description

An API client used to call API methods

Implementations§

Creates a new APIClient, given an access token

Panics

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

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
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.