pub struct AuthRequiredEvent {
pub request_id: RequestId,
pub request: Request,
pub frame_id: String,
pub resource_type: ResourceType,
pub auth_challenge: AuthChallenge,
}Expand description
Event: Fetch.authRequired
Issued when the domain is enabled with handleAuthRequests set to true. The request is paused until client responds with continueWithAuth.
Fields§
§request_id: RequestIdEach request the page makes will have a unique id.
request: RequestThe details of the request.
frame_id: StringThe 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.
Trait Implementations§
Source§impl Clone for AuthRequiredEvent
impl Clone for AuthRequiredEvent
Source§fn clone(&self) -> AuthRequiredEvent
fn clone(&self) -> AuthRequiredEvent
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 AuthRequiredEvent
impl Debug for AuthRequiredEvent
Source§impl<'de> Deserialize<'de> for AuthRequiredEvent
impl<'de> Deserialize<'de> for AuthRequiredEvent
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 Freeze for AuthRequiredEvent
impl RefUnwindSafe for AuthRequiredEvent
impl Send for AuthRequiredEvent
impl Sync for AuthRequiredEvent
impl Unpin for AuthRequiredEvent
impl UnwindSafe for AuthRequiredEvent
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