pub struct Client<C, D> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<C: Cache<Resource>, D: ConfigProperties> HttpRunner for Client<C, D>
impl<C: Cache<Resource>, D: ConfigProperties> HttpRunner for Client<C, D>
type Response = Response
fn run<T: Serialize>(&self, cmd: &mut Request<T>) -> Result<Self::Response>
source§fn api_max_pages<T: Serialize>(&self, cmd: &Request<T>) -> u32
fn api_max_pages<T: Serialize>(&self, cmd: &Request<T>) -> u32
Return the number of API MAX PAGES allowed for the given Request.
source§fn throttle(&self, milliseconds: Milliseconds)
fn throttle(&self, milliseconds: Milliseconds)
Milliseconds to wait before executing the next request
Auto Trait Implementations§
impl<C, D> !Freeze for Client<C, D>
impl<C, D> RefUnwindSafe for Client<C, D>where
C: RefUnwindSafe,
D: RefUnwindSafe,
impl<C, D> Send for Client<C, D>
impl<C, D> Sync for Client<C, D>
impl<C, D> Unpin for Client<C, D>
impl<C, D> UnwindSafe for Client<C, D>where
C: UnwindSafe,
D: UnwindSafe,
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