pub struct ProduceCompilationCacheReturnObject(pub Option<Value>);Expand description
Requests backend to produce compilation cache for the specified scripts.
scripts are appended to the list of scripts for which the cache
would be produced. The list may be reset during page navigation.
When script with a matching URL is encountered, the cache is optionally
produced upon backend discretion, based on internal heuristics.
See also: Page.compilationCacheProduced.
Tuple Fields§
§0: Option<Value>Trait Implementations§
Source§impl Clone for ProduceCompilationCacheReturnObject
impl Clone for ProduceCompilationCacheReturnObject
Source§fn clone(&self) -> ProduceCompilationCacheReturnObject
fn clone(&self) -> ProduceCompilationCacheReturnObject
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 ProduceCompilationCacheReturnObject
impl<'de> Deserialize<'de> for ProduceCompilationCacheReturnObject
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 ProduceCompilationCacheReturnObject
impl PartialEq for ProduceCompilationCacheReturnObject
Source§fn eq(&self, other: &ProduceCompilationCacheReturnObject) -> bool
fn eq(&self, other: &ProduceCompilationCacheReturnObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProduceCompilationCacheReturnObject
Auto Trait Implementations§
impl Freeze for ProduceCompilationCacheReturnObject
impl RefUnwindSafe for ProduceCompilationCacheReturnObject
impl Send for ProduceCompilationCacheReturnObject
impl Sync for ProduceCompilationCacheReturnObject
impl Unpin for ProduceCompilationCacheReturnObject
impl UnsafeUnpin for ProduceCompilationCacheReturnObject
impl UnwindSafe for ProduceCompilationCacheReturnObject
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