pub struct EnableParams<'a> { /* private fields */ }Expand description
Enables issuing of requestPaused events. A request will be paused until client calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.
Implementations§
Source§impl<'a> EnableParams<'a>
impl<'a> EnableParams<'a>
Sourcepub fn builder() -> EnableParamsBuilder<'a>
pub fn builder() -> EnableParamsBuilder<'a>
Creates a builder for this type.
Sourcepub fn patterns(&self) -> Option<&[RequestPattern<'a>]>
pub fn patterns(&self) -> Option<&[RequestPattern<'a>]>
If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until clients response. If not set, all requests will be affected.
Sourcepub fn handle_auth_requests(&self) -> Option<bool>
pub fn handle_auth_requests(&self) -> Option<bool>
If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for EnableParams<'a>
impl<'a> CdpCommand<'a> for EnableParams<'a>
Source§impl<'a> Clone for EnableParams<'a>
impl<'a> Clone for EnableParams<'a>
Source§fn clone(&self) -> EnableParams<'a>
fn clone(&self) -> EnableParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for EnableParams<'a>
impl<'a> Debug for EnableParams<'a>
Source§impl<'a> Default for EnableParams<'a>
impl<'a> Default for EnableParams<'a>
Source§fn default() -> EnableParams<'a>
fn default() -> EnableParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for EnableParams<'a>
impl<'de, 'a> Deserialize<'de> for EnableParams<'a>
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<'a> Freeze for EnableParams<'a>
impl<'a> RefUnwindSafe for EnableParams<'a>
impl<'a> Send for EnableParams<'a>
impl<'a> Sync for EnableParams<'a>
impl<'a> Unpin for EnableParams<'a>
impl<'a> UnsafeUnpin for EnableParams<'a>
impl<'a> UnwindSafe for EnableParams<'a>
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