pub struct EnableParams {
pub patterns: Option<Vec<RequestPattern>>,
pub handle_auth_requests: Option<bool>,
}Expand description
Parameters for Fetch.enable.
Fields§
§patterns: Option<Vec<RequestPattern>>If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until client’s response. If not set, all requests will be affected.
handle_auth_requests: Option<bool>If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth.
Trait Implementations§
Source§impl Clone for EnableParams
impl Clone for EnableParams
Source§fn clone(&self) -> EnableParams
fn clone(&self) -> EnableParams
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 EnableParams
impl Debug for EnableParams
Source§impl Default for EnableParams
impl Default for EnableParams
Source§fn default() -> EnableParams
fn default() -> EnableParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnableParams
impl RefUnwindSafe for EnableParams
impl Send for EnableParams
impl Sync for EnableParams
impl Unpin for EnableParams
impl UnwindSafe for EnableParams
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