pub struct PageSetup {
pub interceptor: Option<RequestInterceptor>,
pub download: Option<DownloadBehavior>,
}Expand description
What to install on a page before its first navigation; see BrowserSession::new_page_with.
Fields§
§interceptor: Option<RequestInterceptor>Request interceptor (see BrowserPage::set_request_interceptor).
download: Option<DownloadBehavior>Download behaviour (see BrowserPage::set_download_behavior).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PageSetup
impl !UnwindSafe for PageSetup
impl Freeze for PageSetup
impl Send for PageSetup
impl Sync for PageSetup
impl Unpin for PageSetup
impl UnsafeUnpin for PageSetup
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