pub struct EnableBuilder { /* private fields */ }Expand description
Builder for Enable.
Implementations§
Source§impl EnableBuilder
impl EnableBuilder
Sourcepub fn patterns<VALUE: Into<Vec<RequestPattern>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn patterns<VALUE: Into<Vec<RequestPattern>>>( &mut self, value: VALUE, ) -> &mut Self
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<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn handle_auth_requests<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
If true, authRequired events will be issued and requests will be paused expecting a call to continueWithAuth.
Trait Implementations§
Source§impl Clone for EnableBuilder
impl Clone for EnableBuilder
Source§fn clone(&self) -> EnableBuilder
fn clone(&self) -> EnableBuilder
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 moreAuto Trait Implementations§
impl Freeze for EnableBuilder
impl RefUnwindSafe for EnableBuilder
impl Send for EnableBuilder
impl Sync for EnableBuilder
impl Unpin for EnableBuilder
impl UnsafeUnpin for EnableBuilder
impl UnwindSafe for EnableBuilder
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