pub struct SetRequestInterception { /* private fields */ }๐Deprecated
Expand description
Sets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead. EXPERIMENTAL: This feature is experimental and may change or be removed.
Implementationsยง
Sourceยงimpl SetRequestInterception
impl SetRequestInterception
pub fn new(patterns: impl Into<Vec<RequestPattern>>) -> Self
Trait Implementationsยง
Sourceยงimpl Clone for SetRequestInterception
impl Clone for SetRequestInterception
Sourceยงfn clone(&self) -> SetRequestInterception
fn clone(&self) -> SetRequestInterception
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 SetRequestInterception
impl Debug for SetRequestInterception
Auto Trait Implementationsยง
impl Freeze for SetRequestInterception
impl RefUnwindSafe for SetRequestInterception
impl Send for SetRequestInterception
impl Sync for SetRequestInterception
impl Unpin for SetRequestInterception
impl UnsafeUnpin for SetRequestInterception
impl UnwindSafe for SetRequestInterception
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