pub struct EventPrerenderAttemptCompleted {
pub initiating_frame_id: FrameId,
pub prerendering_url: String,
pub final_status: PrerenderFinalStatus,
pub reason_details: Option<String>,
}
Expand description
Fired when a prerender attempt is completed. prerenderAttemptCompleted
Fields§
§initiating_frame_id: FrameId
The frame id of the frame initiating prerendering.
prerendering_url: String
§final_status: PrerenderFinalStatus
§reason_details: Option<String>
This is used to give users more information about the cancellation details, and this will be formatted for display.
Implementations§
source§impl EventPrerenderAttemptCompleted
impl EventPrerenderAttemptCompleted
pub const IDENTIFIER: &'static str = "Page.prerenderAttemptCompleted"
Trait Implementations§
source§impl Clone for EventPrerenderAttemptCompleted
impl Clone for EventPrerenderAttemptCompleted
source§fn clone(&self) -> EventPrerenderAttemptCompleted
fn clone(&self) -> EventPrerenderAttemptCompleted
Returns a copy 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<'de> Deserialize<'de> for EventPrerenderAttemptCompleted
impl<'de> Deserialize<'de> for EventPrerenderAttemptCompleted
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EventPrerenderAttemptCompleted, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EventPrerenderAttemptCompleted, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<EventPrerenderAttemptCompleted> for CdpEvent
impl From<EventPrerenderAttemptCompleted> for CdpEvent
source§fn from(el: EventPrerenderAttemptCompleted) -> CdpEvent
fn from(el: EventPrerenderAttemptCompleted) -> CdpEvent
Converts to this type from the input type.
source§impl IntoEventKind for EventPrerenderAttemptCompleted
impl IntoEventKind for EventPrerenderAttemptCompleted
source§fn event_kind() -> EventKindwhere
EventPrerenderAttemptCompleted: Sized + 'static,
fn event_kind() -> EventKindwhere
EventPrerenderAttemptCompleted: Sized + 'static,
What kind of event this type is
source§impl Method for EventPrerenderAttemptCompleted
impl Method for EventPrerenderAttemptCompleted
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl PartialEq for EventPrerenderAttemptCompleted
impl PartialEq for EventPrerenderAttemptCompleted
source§fn eq(&self, other: &EventPrerenderAttemptCompleted) -> bool
fn eq(&self, other: &EventPrerenderAttemptCompleted) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EventPrerenderAttemptCompleted
impl Serialize for EventPrerenderAttemptCompleted
source§fn 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
impl StructuralPartialEq for EventPrerenderAttemptCompleted
Auto Trait Implementations§
impl Freeze for EventPrerenderAttemptCompleted
impl RefUnwindSafe for EventPrerenderAttemptCompleted
impl Send for EventPrerenderAttemptCompleted
impl Sync for EventPrerenderAttemptCompleted
impl Unpin for EventPrerenderAttemptCompleted
impl UnwindSafe for EventPrerenderAttemptCompleted
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