pub struct SetRequestInterceptionParams {
pub patterns: Vec<RequestPattern>,
}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>Requests matching any of these patterns will be forwarded and wait for the corresponding continueInterceptedRequest call.
Implementations§
Trait Implementations§
Source§impl Clone for SetRequestInterceptionParams
impl Clone for SetRequestInterceptionParams
Source§fn clone(&self) -> SetRequestInterceptionParams
fn clone(&self) -> SetRequestInterceptionParams
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 SetRequestInterceptionParams
impl Debug for SetRequestInterceptionParams
Source§impl Default for SetRequestInterceptionParams
impl Default for SetRequestInterceptionParams
Source§fn default() -> SetRequestInterceptionParams
fn default() -> SetRequestInterceptionParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetRequestInterceptionParams
impl<'de> Deserialize<'de> for SetRequestInterceptionParams
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
Auto Trait Implementations§
impl Freeze for SetRequestInterceptionParams
impl RefUnwindSafe for SetRequestInterceptionParams
impl Send for SetRequestInterceptionParams
impl Sync for SetRequestInterceptionParams
impl Unpin for SetRequestInterceptionParams
impl UnsafeUnpin for SetRequestInterceptionParams
impl UnwindSafe for SetRequestInterceptionParams
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