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’.
Fields§
§scripts: Vec<CompilationCacheParams>Implementations§
Trait Implementations§
Source§impl Clone for ProduceCompilationCacheParams
impl Clone for ProduceCompilationCacheParams
Source§fn clone(&self) -> ProduceCompilationCacheParams
fn clone(&self) -> ProduceCompilationCacheParams
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 Default for ProduceCompilationCacheParams
impl Default for ProduceCompilationCacheParams
Source§fn default() -> ProduceCompilationCacheParams
fn default() -> ProduceCompilationCacheParams
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
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