pub struct Http2Settings {
pub header_table_size: Option<u32>,
pub enable_push: Option<bool>,
pub max_concurrent_streams: Option<u32>,
pub initial_window_size: Option<u32>,
pub max_frame_size: Option<u32>,
pub max_header_list_size: Option<u32>,
}Expand description
HTTP/2 Settings frame parameters to spoof different browsers.
Fields§
§header_table_size: Option<u32>§enable_push: Option<bool>§max_concurrent_streams: Option<u32>§initial_window_size: Option<u32>§max_frame_size: Option<u32>§max_header_list_size: Option<u32>Trait Implementations§
Source§impl Clone for Http2Settings
impl Clone for Http2Settings
Source§fn clone(&self) -> Http2Settings
fn clone(&self) -> Http2Settings
Returns a duplicate of the value. Read more
1.0.0 · 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 Http2Settings
impl Debug for Http2Settings
Source§impl<'de> Deserialize<'de> for Http2Settings
impl<'de> Deserialize<'de> for Http2Settings
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 Http2Settings
impl RefUnwindSafe for Http2Settings
impl Send for Http2Settings
impl Sync for Http2Settings
impl Unpin for Http2Settings
impl UnsafeUnpin for Http2Settings
impl UnwindSafe for Http2Settings
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