pub struct ProduceCompilationCacheParams {
pub scripts: Vec<CompilationCacheParams>,
}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.
Experimental: may change without notice.
Parameters of Page.produceCompilationCache.
Fields§
§scripts: Vec<CompilationCacheParams>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ProduceCompilationCacheParams
impl<'de> Deserialize<'de> for ProduceCompilationCacheParams
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
impl StructuralPartialEq for ProduceCompilationCacheParams
Auto Trait Implementations§
impl Forget for ProduceCompilationCacheParams
impl Freeze for ProduceCompilationCacheParams
impl RefUnwindSafe for ProduceCompilationCacheParams
impl Send for ProduceCompilationCacheParams
impl Sync for ProduceCompilationCacheParams
impl Unpin for ProduceCompilationCacheParams
impl UnsafeUnpin for ProduceCompilationCacheParams
impl UnwindSafe for ProduceCompilationCacheParams
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