Struct heroku_rs::framework::HttpApiClientConfig [−][src]
Expand description
Configuration for the API client. Allows users to customize its behaviour.
Fields
http_timeout: Duration
The maximum time limit for an API request. If a request takes longer than this, it will be cancelled. By default this duration will be 30 seconds because that’s the max timeout before Heroku terminates the request
default_headers: HeaderMap
A default set of HTTP headers which will be sent with each API request.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HttpApiClientConfig
impl Send for HttpApiClientConfig
impl Sync for HttpApiClientConfig
impl Unpin for HttpApiClientConfig
impl UnwindSafe for HttpApiClientConfig
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]