Struct chromiumoxide::cdp::browser_protocol::fetch::EventAuthRequired
source · [−]pub struct EventAuthRequired {
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: RequestId
Each request the page makes will have a unique id.
request: Request
The details of the request.
frame_id: FrameId
The id of the frame that initiated the request.
resource_type: ResourceType
How the requested resource will be used.
auth_challenge: AuthChallenge
Details of the Authorization Challenge encountered. If this is set, client should respond with continueRequest that contains AuthChallengeResponse.
Implementations
sourceimpl EventAuthRequired
impl EventAuthRequired
pub const IDENTIFIER: &'static str = "Fetch.authRequired"
Trait Implementations
sourceimpl Clone for EventAuthRequired
impl Clone for EventAuthRequired
sourcefn clone(&self) -> EventAuthRequired
fn clone(&self) -> EventAuthRequired
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EventAuthRequired
impl Debug for EventAuthRequired
sourceimpl<'de> Deserialize<'de> for EventAuthRequired
impl<'de> Deserialize<'de> for EventAuthRequired
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<EventAuthRequired, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EventAuthRequired, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<EventAuthRequired> for CdpEvent
impl From<EventAuthRequired> for CdpEvent
sourcefn from(el: EventAuthRequired) -> CdpEvent
fn from(el: EventAuthRequired) -> CdpEvent
Converts to this type from the input type.
sourceimpl IntoEventKind for EventAuthRequired
impl IntoEventKind for EventAuthRequired
sourcefn event_kind() -> EventKindwhere
EventAuthRequired: 'static + Sized,
fn event_kind() -> EventKindwhere
EventAuthRequired: 'static + Sized,
What kind of event this type is
sourceimpl Method for EventAuthRequired
impl Method for EventAuthRequired
sourcefn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
sourcefn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
sourcefn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
sourceimpl MethodType for EventAuthRequired
impl MethodType for EventAuthRequired
sourceimpl PartialEq<EventAuthRequired> for EventAuthRequired
impl PartialEq<EventAuthRequired> for EventAuthRequired
sourcefn eq(&self, other: &EventAuthRequired) -> bool
fn eq(&self, other: &EventAuthRequired) -> bool
sourceimpl Serialize for EventAuthRequired
impl Serialize for EventAuthRequired
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl TryFrom<CdpEvent> for EventAuthRequired
impl TryFrom<CdpEvent> for EventAuthRequired
impl StructuralPartialEq for EventAuthRequired
Auto Trait Implementations
impl RefUnwindSafe for EventAuthRequired
impl Send for EventAuthRequired
impl Sync for EventAuthRequired
impl Unpin for EventAuthRequired
impl UnwindSafe for EventAuthRequired
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more