Struct speedrun_api::SpeedrunApiClientAsync
source · [−]pub struct SpeedrunApiClientAsync { /* private fields */ }Expand description
An asynchronous client for communicating with the Speedrun.com API
Implementations
sourceimpl 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>where
S: Into<String>,
pub fn with_api_key<S>(api_key: S) -> SpeedrunApiResult<Self>where
S: Into<String>,
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
sourceimpl AsyncClient for SpeedrunApiClientAsync
impl AsyncClient for SpeedrunApiClientAsync
sourceimpl Clone for SpeedrunApiClientAsync
impl Clone for SpeedrunApiClientAsync
sourcefn clone(&self) -> SpeedrunApiClientAsync
fn clone(&self) -> SpeedrunApiClientAsync
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SpeedrunApiClientAsync
impl Debug for SpeedrunApiClientAsync
sourceimpl RestClient for SpeedrunApiClientAsync
impl RestClient for SpeedrunApiClientAsync
Auto Trait Implementations
impl !RefUnwindSafe for SpeedrunApiClientAsync
impl Send for SpeedrunApiClientAsync
impl Sync for SpeedrunApiClientAsync
impl Unpin for SpeedrunApiClientAsync
impl !UnwindSafe for SpeedrunApiClientAsync
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more