pub struct HttpOptions {
pub compress: Option<bool>,
pub h2_backend: Option<bool>,
pub headers_read_timeout: Option<u64>,
pub idle_timeout: Option<u64>,
pub response: Option<ResponseOptions>,
}Fields§
§compress: Option<bool>§h2_backend: Option<bool>§headers_read_timeout: Option<u64>§idle_timeout: Option<u64>§response: Option<ResponseOptions>Trait Implementations§
Source§impl Debug for HttpOptions
impl Debug for HttpOptions
Source§impl<'de> Deserialize<'de> for HttpOptions
impl<'de> Deserialize<'de> for HttpOptions
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 HttpOptions
impl RefUnwindSafe for HttpOptions
impl Send for HttpOptions
impl Sync for HttpOptions
impl Unpin for HttpOptions
impl UnwindSafe for HttpOptions
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