pub struct ProduceCompilationCacheParams {
pub scripts: Vec<CompilationCacheParams, Global>,
}Expand description
Requests backend to produce compilation cache for the specified scripts.
scripts are appeneded 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.
produceCompilationCache
Fields§
§scripts: Vec<CompilationCacheParams, Global>Implementations§
source§impl ProduceCompilationCacheParams
impl ProduceCompilationCacheParams
pub fn new( scripts: Vec<CompilationCacheParams, Global> ) -> ProduceCompilationCacheParams
source§impl ProduceCompilationCacheParams
impl ProduceCompilationCacheParams
pub fn builder() -> ProduceCompilationCacheParamsBuilder
source§impl ProduceCompilationCacheParams
impl ProduceCompilationCacheParams
pub const IDENTIFIER: &'static str = "Page.produceCompilationCache"
Trait Implementations§
source§impl Clone for ProduceCompilationCacheParams
impl Clone for ProduceCompilationCacheParams
source§fn clone(&self) -> ProduceCompilationCacheParams
fn clone(&self) -> ProduceCompilationCacheParams
Returns a copy 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 Command for ProduceCompilationCacheParams
impl Command for ProduceCompilationCacheParams
§type Response = ProduceCompilationCacheReturns
type Response = ProduceCompilationCacheReturns
The type of the response this request triggers on the chromium server
source§impl<'de> Deserialize<'de> for ProduceCompilationCacheParams
impl<'de> Deserialize<'de> for ProduceCompilationCacheParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ProduceCompilationCacheParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ProduceCompilationCacheParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for ProduceCompilationCacheParams
impl Method for ProduceCompilationCacheParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodesource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMsource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodesource§impl PartialEq<ProduceCompilationCacheParams> for ProduceCompilationCacheParams
impl PartialEq<ProduceCompilationCacheParams> for ProduceCompilationCacheParams
source§fn eq(&self, other: &ProduceCompilationCacheParams) -> bool
fn eq(&self, other: &ProduceCompilationCacheParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ProduceCompilationCacheParams
impl Serialize for ProduceCompilationCacheParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more