pub struct HttpConfig {
pub timeout: Duration,
pub max_retries: u32,
pub retry_base_delay: Duration,
}Expand description
HTTP client configuration for external API calls.
Fields§
§timeout: Duration§max_retries: u32§retry_base_delay: DurationTrait Implementations§
Auto Trait Implementations§
impl Freeze for HttpConfig
impl RefUnwindSafe for HttpConfig
impl Send for HttpConfig
impl Sync for HttpConfig
impl Unpin for HttpConfig
impl UnsafeUnpin for HttpConfig
impl UnwindSafe for HttpConfig
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