pub struct AuthRequiredEventBuilder { /* private fields */ }Available on crate features
Fetch and Network and IO and Page only.Implementations§
Source§impl AuthRequiredEventBuilder
impl AuthRequiredEventBuilder
Sourcepub fn request_id(&mut self, v: RequestId) -> &mut Self
pub fn request_id(&mut self, v: RequestId) -> &mut Self
Each request the page makes will have a unique id.
Sourcepub fn frame_id(&mut self, v: FrameId) -> &mut Self
pub fn frame_id(&mut self, v: FrameId) -> &mut Self
The id of the frame that initiated the request.
Sourcepub fn resource_type(&mut self, v: ResourceType) -> &mut Self
pub fn resource_type(&mut self, v: ResourceType) -> &mut Self
How the requested resource will be used.
Sourcepub fn auth_challenge(&mut self, v: AuthChallenge) -> &mut Self
pub fn auth_challenge(&mut self, v: AuthChallenge) -> &mut Self
Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.
pub fn build(&mut self) -> Result<AuthRequiredEvent, &'static str>
Trait Implementations§
Source§impl Clone for AuthRequiredEventBuilder
impl Clone for AuthRequiredEventBuilder
Source§fn clone(&self) -> AuthRequiredEventBuilder
fn clone(&self) -> AuthRequiredEventBuilder
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 AuthRequiredEventBuilder
impl Debug for AuthRequiredEventBuilder
Auto Trait Implementations§
impl Freeze for AuthRequiredEventBuilder
impl RefUnwindSafe for AuthRequiredEventBuilder
impl Send for AuthRequiredEventBuilder
impl Sync for AuthRequiredEventBuilder
impl Unpin for AuthRequiredEventBuilder
impl UnwindSafe for AuthRequiredEventBuilder
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