pub struct PrefetchStatusUpdatedEvent {
pub key: PreloadingAttemptKey,
pub pipeline_id: PreloadPipelineId,
pub initiating_frame_id: FrameId,
pub prefetch_url: String,
pub status: PreloadingStatus,
pub prefetch_status: PrefetchStatus,
pub request_id: RequestId,
}Expand description
Fired when a prefetch attempt is updated.
Payload of the Preload.prefetchStatusUpdated event.
Fields§
§key: PreloadingAttemptKey§pipeline_id: PreloadPipelineId§initiating_frame_id: FrameIdThe frame id of the frame initiating prefetch.
prefetch_url: String§status: PreloadingStatus§prefetch_status: PrefetchStatus§request_id: RequestIdTrait Implementations§
Source§impl Clone for PrefetchStatusUpdatedEvent
impl Clone for PrefetchStatusUpdatedEvent
Source§impl Debug for PrefetchStatusUpdatedEvent
impl Debug for PrefetchStatusUpdatedEvent
Source§impl<'de> Deserialize<'de> for PrefetchStatusUpdatedEvent
impl<'de> Deserialize<'de> for PrefetchStatusUpdatedEvent
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 Event for PrefetchStatusUpdatedEvent
impl Event for PrefetchStatusUpdatedEvent
impl StructuralPartialEq for PrefetchStatusUpdatedEvent
Auto Trait Implementations§
impl Forget for PrefetchStatusUpdatedEvent
impl Freeze for PrefetchStatusUpdatedEvent
impl RefUnwindSafe for PrefetchStatusUpdatedEvent
impl Send for PrefetchStatusUpdatedEvent
impl Sync for PrefetchStatusUpdatedEvent
impl Unpin for PrefetchStatusUpdatedEvent
impl UnsafeUnpin for PrefetchStatusUpdatedEvent
impl UnwindSafe for PrefetchStatusUpdatedEvent
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