pub struct CompilationCacheParams {
pub url: String,
pub eager: Option<bool>,
}Expand description
Per-script compilation cache parameters for Page.produceCompilationCache
Experimental: may change without notice.
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§impl Debug for CompilationCacheParams
impl Debug for CompilationCacheParams
Source§impl Default for CompilationCacheParams
impl Default for CompilationCacheParams
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
Source§impl PartialEq for CompilationCacheParams
impl PartialEq for CompilationCacheParams
Source§impl Serialize for CompilationCacheParams
impl Serialize for CompilationCacheParams
impl StructuralPartialEq for CompilationCacheParams
Auto Trait Implementations§
impl Forget for CompilationCacheParams
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