pub struct Http {
pub timeout: Option<u64>,
pub pool_idle_timeout: Option<u64>,
pub pool_max_idle_per_host: Option<usize>,
pub local_address: Option<String>,
pub tcp_keepalive: Option<u64>,
}Fields§
§timeout: Option<u64>§pool_idle_timeout: Option<u64>§pool_max_idle_per_host: Option<usize>§local_address: Option<String>§tcp_keepalive: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Http
impl<'de> Deserialize<'de> for Http
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Http
impl RefUnwindSafe for Http
impl Send for Http
impl Sync for Http
impl Unpin for Http
impl UnwindSafe for Http
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