pub struct ProduceCompilationCache {
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>Trait Implementations§
Source§impl Clone for ProduceCompilationCache
impl Clone for ProduceCompilationCache
Source§fn clone(&self) -> ProduceCompilationCache
fn clone(&self) -> ProduceCompilationCache
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 Debug for ProduceCompilationCache
impl Debug for ProduceCompilationCache
Source§impl<'de> Deserialize<'de> for ProduceCompilationCache
impl<'de> Deserialize<'de> for ProduceCompilationCache
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 Method for ProduceCompilationCache
impl Method for ProduceCompilationCache
const NAME: &'static str = "Page.produceCompilationCache"
type ReturnObject = ProduceCompilationCacheReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for ProduceCompilationCache
impl PartialEq for ProduceCompilationCache
Source§impl Serialize for ProduceCompilationCache
impl Serialize for ProduceCompilationCache
impl StructuralPartialEq for ProduceCompilationCache
Auto Trait Implementations§
impl Freeze for ProduceCompilationCache
impl RefUnwindSafe for ProduceCompilationCache
impl Send for ProduceCompilationCache
impl Sync for ProduceCompilationCache
impl Unpin for ProduceCompilationCache
impl UnsafeUnpin for ProduceCompilationCache
impl UnwindSafe for ProduceCompilationCache
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