pub struct BackForwardCacheNotRestoredExplanation {
pub type: BackForwardCacheNotRestoredReasonType,
pub reason: BackForwardCacheNotRestoredReason,
pub context: Option<String>,
pub details: Option<Vec<BackForwardCacheBlockingDetails>>,
}Fields§
§type: BackForwardCacheNotRestoredReasonTypeType of the reason
reason: BackForwardCacheNotRestoredReasonNot restored reason
context: Option<String>Context associated with the reason. The meaning of this context is dependent on the reason:
- EmbedderExtensionSentMessageToCachedFrame: the extension ID.
details: Option<Vec<BackForwardCacheBlockingDetails>>Implementations§
Source§impl BackForwardCacheNotRestoredExplanation
impl BackForwardCacheNotRestoredExplanation
pub fn new( type: impl Into<BackForwardCacheNotRestoredReasonType>, reason: impl Into<BackForwardCacheNotRestoredReason>, ) -> Self
Source§impl BackForwardCacheNotRestoredExplanation
impl BackForwardCacheNotRestoredExplanation
pub const IDENTIFIER: &'static str = "Page.BackForwardCacheNotRestoredExplanation"
Trait Implementations§
Source§impl Clone for BackForwardCacheNotRestoredExplanation
impl Clone for BackForwardCacheNotRestoredExplanation
Source§fn clone(&self) -> BackForwardCacheNotRestoredExplanation
fn clone(&self) -> BackForwardCacheNotRestoredExplanation
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 BackForwardCacheNotRestoredExplanation
impl<'de> Deserialize<'de> for BackForwardCacheNotRestoredExplanation
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 BackForwardCacheNotRestoredExplanation
impl PartialEq for BackForwardCacheNotRestoredExplanation
Source§fn eq(&self, other: &BackForwardCacheNotRestoredExplanation) -> bool
fn eq(&self, other: &BackForwardCacheNotRestoredExplanation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BackForwardCacheNotRestoredExplanation
Auto Trait Implementations§
impl Freeze for BackForwardCacheNotRestoredExplanation
impl RefUnwindSafe for BackForwardCacheNotRestoredExplanation
impl Send for BackForwardCacheNotRestoredExplanation
impl Sync for BackForwardCacheNotRestoredExplanation
impl Unpin for BackForwardCacheNotRestoredExplanation
impl UnwindSafe for BackForwardCacheNotRestoredExplanation
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