pub struct AuthRequiredEventParamsBuilder { /* private fields */ }Expand description
Builder for AuthRequiredEventParams.
Implementations§
Source§impl AuthRequiredEventParamsBuilder
impl AuthRequiredEventParamsBuilder
Sourcepub fn request_id(&mut self, value: RequestId) -> &mut Self
pub fn request_id(&mut self, value: RequestId) -> &mut Self
Each request the page makes will have a unique id.
Sourcepub fn frame_id(&mut self, value: FrameId) -> &mut Self
pub fn frame_id(&mut self, value: FrameId) -> &mut Self
The id of the frame that initiated the request.
Sourcepub fn resource_type(&mut self, value: ResourceType) -> &mut Self
pub fn resource_type(&mut self, value: ResourceType) -> &mut Self
How the requested resource will be used.
Sourcepub fn auth_challenge(&mut self, value: AuthChallenge) -> &mut Self
pub fn auth_challenge(&mut self, value: AuthChallenge) -> &mut Self
Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.
Sourcepub fn build(
&self,
) -> Result<AuthRequiredEventParams, AuthRequiredEventParamsBuilderError>
pub fn build( &self, ) -> Result<AuthRequiredEventParams, AuthRequiredEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for AuthRequiredEventParamsBuilder
impl Clone for AuthRequiredEventParamsBuilder
Source§fn clone(&self) -> AuthRequiredEventParamsBuilder
fn clone(&self) -> AuthRequiredEventParamsBuilder
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 AuthRequiredEventParamsBuilder
impl RefUnwindSafe for AuthRequiredEventParamsBuilder
impl Send for AuthRequiredEventParamsBuilder
impl Sync for AuthRequiredEventParamsBuilder
impl Unpin for AuthRequiredEventParamsBuilder
impl UnsafeUnpin for AuthRequiredEventParamsBuilder
impl UnwindSafe for AuthRequiredEventParamsBuilder
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