pub struct HttpClientOptions {
pub connect_timeout: Duration,
pub timeout: Duration,
pub max_redirects: usize,
pub user_agent: String,
pub accept_gzip: bool,
pub verify_tls: bool,
pub ca_cert_path: Option<String>,
}Fields§
§connect_timeout: Duration§timeout: Duration§max_redirects: usize§user_agent: String§accept_gzip: bool§verify_tls: bool§ca_cert_path: Option<String>Trait Implementations§
Source§impl Clone for HttpClientOptions
impl Clone for HttpClientOptions
Source§fn clone(&self) -> HttpClientOptions
fn clone(&self) -> HttpClientOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HttpClientOptions
impl Debug for HttpClientOptions
Auto Trait Implementations§
impl Freeze for HttpClientOptions
impl RefUnwindSafe for HttpClientOptions
impl Send for HttpClientOptions
impl Sync for HttpClientOptions
impl Unpin for HttpClientOptions
impl UnsafeUnpin for HttpClientOptions
impl UnwindSafe for HttpClientOptions
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