pub struct SetRequestInterception {
pub patterns: Vec<RequestPattern>,
}๐Deprecated
Expand description
Sets the requests to intercept that match the provided patterns and optionally resource types. Deprecated, please use Fetch.enable instead.
Fieldsยง
ยงpatterns: Vec<RequestPattern>๐Deprecated
Requests matching any of these patterns will be forwarded and wait for the corresponding continueInterceptedRequest call.
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
Sourceยงimpl<'de> Deserialize<'de> for SetRequestInterception
impl<'de> Deserialize<'de> for SetRequestInterception
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
Sourceยงimpl Method for SetRequestInterception
impl Method for SetRequestInterception
const NAME: &'static str = "Network.setRequestInterception"
type ReturnObject = SetRequestInterceptionReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Sourceยงimpl PartialEq for SetRequestInterception
impl PartialEq for SetRequestInterception
Sourceยงimpl Serialize for SetRequestInterception
impl Serialize for SetRequestInterception
impl StructuralPartialEq 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