pub struct SpeedrunApiClientAsync { /* private fields */ }
Expand description
An asynchronous client for communicating with the Speedrun.com API
Implementations§
Source§impl SpeedrunApiClientAsync
impl SpeedrunApiClientAsync
Sourcepub fn new() -> SpeedrunApiResult<Self>
pub fn new() -> SpeedrunApiResult<Self>
Create a new asynchronous Speedrun.com API client
Sourcepub fn with_api_key<S>(api_key: S) -> SpeedrunApiResult<Self>
pub fn with_api_key<S>(api_key: S) -> SpeedrunApiResult<Self>
Create a new asynchronous Speedrun.com API client, with the provided API key.
Sourcepub fn builder() -> SpeedrunApiBuilder
pub fn builder() -> SpeedrunApiBuilder
Create a new Speedrun.com API builder.
Trait Implementations§
Source§impl AsyncClient for SpeedrunApiClientAsync
impl AsyncClient for SpeedrunApiClientAsync
Source§impl Clone for SpeedrunApiClientAsync
impl Clone for SpeedrunApiClientAsync
Source§fn clone(&self) -> SpeedrunApiClientAsync
fn clone(&self) -> SpeedrunApiClientAsync
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SpeedrunApiClientAsync
impl Debug for SpeedrunApiClientAsync
Source§impl RestClient for SpeedrunApiClientAsync
impl RestClient for SpeedrunApiClientAsync
Auto Trait Implementations§
impl Freeze for SpeedrunApiClientAsync
impl !RefUnwindSafe for SpeedrunApiClientAsync
impl Send for SpeedrunApiClientAsync
impl Sync for SpeedrunApiClientAsync
impl Unpin for SpeedrunApiClientAsync
impl !UnwindSafe for SpeedrunApiClientAsync
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