pub struct BackForwardCacheNotUsedParams {
pub loader_id: LoaderId,
pub frame_id: Box<FrameId>,
pub not_restored_explanations: Vec<BackForwardCacheNotRestoredExplanation>,
pub not_restored_explanations_tree: Option<BackForwardCacheNotRestoredExplanationTree>,
}Expand description
Fired for failed bfcache history navigations if BackForwardCache feature is enabled. Do not assume any ordering with the Page.frameNavigated event. This event is fired only for main-frame history navigation where the document changes (non-same-document navigations), when bfcache navigation fails. backForwardCacheNotUsed
Fields§
§loader_id: LoaderIdThe loader id for the associated navigation.
frame_id: Box<FrameId>The frame id of the associated frame.
not_restored_explanations: Vec<BackForwardCacheNotRestoredExplanation>Array of reasons why the page could not be cached. This must not be empty.
not_restored_explanations_tree: Option<BackForwardCacheNotRestoredExplanationTree>Tree structure of reasons why the page could not be cached for each frame.
Trait Implementations§
Source§impl Clone for BackForwardCacheNotUsedParams
impl Clone for BackForwardCacheNotUsedParams
Source§fn clone(&self) -> BackForwardCacheNotUsedParams
fn clone(&self) -> BackForwardCacheNotUsedParams
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<'de> Deserialize<'de> for BackForwardCacheNotUsedParams
impl<'de> Deserialize<'de> for BackForwardCacheNotUsedParams
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 BackForwardCacheNotUsedParams
impl PartialEq for BackForwardCacheNotUsedParams
Source§fn eq(&self, other: &BackForwardCacheNotUsedParams) -> bool
fn eq(&self, other: &BackForwardCacheNotUsedParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BackForwardCacheNotUsedParams
Auto Trait Implementations§
impl Freeze for BackForwardCacheNotUsedParams
impl RefUnwindSafe for BackForwardCacheNotUsedParams
impl Send for BackForwardCacheNotUsedParams
impl Sync for BackForwardCacheNotUsedParams
impl Unpin for BackForwardCacheNotUsedParams
impl UnsafeUnpin for BackForwardCacheNotUsedParams
impl UnwindSafe for BackForwardCacheNotUsedParams
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