Struct chromiumoxide_cdp::cdp::browser_protocol::network::RequestPattern [−][src]
pub struct RequestPattern { pub url_pattern: Option<String>, pub resource_type: Option<ResourceType>, pub interception_stage: Option<InterceptionStage>, }
Expand description
Request pattern for interception. RequestPattern
Fields
url_pattern: Option<String>
Wildcards (‘’ -> zero or more, ‘?’ -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to “”.
resource_type: Option<ResourceType>
If set, only requests for matching resource types will be intercepted.
interception_stage: Option<InterceptionStage>
Stage at wich to begin intercepting requests. Default is Request.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RequestPattern
impl Send for RequestPattern
impl Sync for RequestPattern
impl Unpin for RequestPattern
impl UnwindSafe for RequestPattern
Blanket Implementations
Mutably borrows from an owned value. Read more