pub struct DomainConfig {
pub page_enable_file_chooser: bool,
pub dom_include_whitespace: Option<EnableIncludeWhitespaceOption>,
pub network_max_total_buffer_size: Option<u32>,
pub network_max_resource_buffer_size: Option<u32>,
pub network_max_post_data_size: Option<u32>,
pub fetch_handle_auth_requests: bool,
}Expand description
Configuration values applied while enabling individual domains.
Fields§
§page_enable_file_chooser: boolWhether to emit FileChooserOpened events from the Page domain.
dom_include_whitespace: Option<EnableIncludeWhitespaceOption>DOM whitespace behavior.
network_max_total_buffer_size: Option<u32>Network buffer size limits.
network_max_resource_buffer_size: Option<u32>§network_max_post_data_size: Option<u32>§fetch_handle_auth_requests: boolWhether Fetch should handle auth requests by default.
Trait Implementations§
Source§impl Clone for DomainConfig
impl Clone for DomainConfig
Source§fn clone(&self) -> DomainConfig
fn clone(&self) -> DomainConfig
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 DomainConfig
impl Debug for DomainConfig
Auto Trait Implementations§
impl Freeze for DomainConfig
impl RefUnwindSafe for DomainConfig
impl Send for DomainConfig
impl Sync for DomainConfig
impl Unpin for DomainConfig
impl UnwindSafe for DomainConfig
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