pub struct CompilationCacheParams {
pub url: String,
pub eager: Option<bool>,
}Expand description
Per-script compilation cache parameters for ‘Page.produceCompilationCache’
Fields§
§url: StringThe URL of the script to produce a compilation cache entry for.
eager: Option<bool>A hint to the backend whether eager compilation is recommended. (the actual compilation mode used is upon backend discretion).
Trait Implementations§
Source§impl Clone for CompilationCacheParams
impl Clone for CompilationCacheParams
Source§fn clone(&self) -> CompilationCacheParams
fn clone(&self) -> CompilationCacheParams
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 CompilationCacheParams
impl Debug for CompilationCacheParams
Source§impl Default for CompilationCacheParams
impl Default for CompilationCacheParams
Source§fn default() -> CompilationCacheParams
fn default() -> CompilationCacheParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompilationCacheParams
impl<'de> Deserialize<'de> for CompilationCacheParams
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 CompilationCacheParams
impl RefUnwindSafe for CompilationCacheParams
impl Send for CompilationCacheParams
impl Sync for CompilationCacheParams
impl Unpin for CompilationCacheParams
impl UnsafeUnpin for CompilationCacheParams
impl UnwindSafe for CompilationCacheParams
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