pub struct AuthRequiredParams {
pub request_id: RequestId,
pub request: Request,
pub frame_id: FrameId,
pub resource_type: ResourceType,
pub auth_challenge: AuthChallenge,
}Expand description
Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth. authRequired
Fields§
§request_id: RequestIdEach request the page makes will have a unique id.
request: RequestThe details of the request.
frame_id: FrameIdThe id of the frame that initiated the request.
resource_type: ResourceTypeHow the requested resource will be used.
auth_challenge: AuthChallengeDetails of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.
Trait Implementations§
Source§impl Clone for AuthRequiredParams
impl Clone for AuthRequiredParams
Source§fn clone(&self) -> AuthRequiredParams
fn clone(&self) -> AuthRequiredParams
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 AuthRequiredParams
impl Debug for AuthRequiredParams
Source§impl<'de> Deserialize<'de> for AuthRequiredParams
impl<'de> Deserialize<'de> for AuthRequiredParams
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
Source§impl PartialEq for AuthRequiredParams
impl PartialEq for AuthRequiredParams
Source§impl Serialize for AuthRequiredParams
impl Serialize for AuthRequiredParams
impl StructuralPartialEq for AuthRequiredParams
Auto Trait Implementations§
impl Freeze for AuthRequiredParams
impl RefUnwindSafe for AuthRequiredParams
impl Send for AuthRequiredParams
impl Sync for AuthRequiredParams
impl Unpin for AuthRequiredParams
impl UnsafeUnpin for AuthRequiredParams
impl UnwindSafe for AuthRequiredParams
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