pub struct CompilationCacheParams {
pub url: String,
pub eager: Option<bool>,
}Expand description
Per-script compilation cache parameters for Page.produceCompilationCache
CompilationCacheParams
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).
Implementations§
Source§impl CompilationCacheParams
impl CompilationCacheParams
pub fn builder() -> CompilationCacheParamsBuilder
Source§impl CompilationCacheParams
impl CompilationCacheParams
pub const IDENTIFIER: &'static str = "Page.CompilationCacheParams"
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<'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 Freeze for CompilationCacheParams
impl RefUnwindSafe for CompilationCacheParams
impl Send for CompilationCacheParams
impl Sync for CompilationCacheParams
impl Unpin 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