pub struct TlsClientConfig {
pub headers: HeaderMap,
pub timeout: Duration,
pub redirect_policy: Policy,
}Fields§
§headers: HeaderMap§timeout: Duration§redirect_policy: PolicyImplementations§
Source§impl TlsClientConfig
impl TlsClientConfig
pub fn with_headers(self, headers: HeaderMap) -> Self
pub fn with_timeout(self, timeout: Duration) -> Self
pub fn with_redirect_policy(self, redirect_policy: Policy) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TlsClientConfig
impl !RefUnwindSafe for TlsClientConfig
impl Send for TlsClientConfig
impl Sync for TlsClientConfig
impl Unpin for TlsClientConfig
impl !UnwindSafe for TlsClientConfig
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