pub struct AddCompilationCache {
pub method: AddCompilationCacheMethod,
pub params: AddCompilationCacheParams,
}Expand description
Seeds compilation cache for given url. Compilation cache does not survive cross-process navigation. addCompilationCache
Fields§
§method: AddCompilationCacheMethod§params: AddCompilationCacheParamsImplementations§
Source§impl AddCompilationCache
impl AddCompilationCache
pub fn builder() -> AddCompilationCacheBuilder
Source§impl AddCompilationCache
impl AddCompilationCache
pub const IDENTIFIER: &'static str = "Page.addCompilationCache"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for AddCompilationCache
impl Clone for AddCompilationCache
Source§fn clone(&self) -> AddCompilationCache
fn clone(&self) -> AddCompilationCache
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 CommandResult for AddCompilationCache
impl CommandResult for AddCompilationCache
type Result = AddCompilationCacheResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for AddCompilationCache
impl Debug for AddCompilationCache
Source§impl<'de> Deserialize<'de> for AddCompilationCache
impl<'de> Deserialize<'de> for AddCompilationCache
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 From<AddCompilationCache> for BrowserProtocolCommands
impl From<AddCompilationCache> for BrowserProtocolCommands
Source§fn from(v: AddCompilationCache) -> Self
fn from(v: AddCompilationCache) -> Self
Converts to this type from the input type.
Source§impl From<AddCompilationCache> for Command
impl From<AddCompilationCache> for Command
Source§fn from(v: AddCompilationCache) -> Self
fn from(v: AddCompilationCache) -> Self
Converts to this type from the input type.
Source§impl From<AddCompilationCache> for PageCommands
impl From<AddCompilationCache> for PageCommands
Source§fn from(v: AddCompilationCache) -> Self
fn from(v: AddCompilationCache) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AddCompilationCache
impl PartialEq for AddCompilationCache
Source§impl Serialize for AddCompilationCache
impl Serialize for AddCompilationCache
Source§impl TryFrom<BrowserProtocolCommands> for AddCompilationCache
impl TryFrom<BrowserProtocolCommands> for AddCompilationCache
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <AddCompilationCache as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <AddCompilationCache as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for AddCompilationCache
impl TryFrom<Command> for AddCompilationCache
Source§impl TryFrom<PageCommands> for AddCompilationCache
impl TryFrom<PageCommands> for AddCompilationCache
Source§type Error = PageCommands
type Error = PageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: PageCommands,
) -> Result<Self, <AddCompilationCache as TryFrom<PageCommands>>::Error>
fn try_from( e: PageCommands, ) -> Result<Self, <AddCompilationCache as TryFrom<PageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for AddCompilationCache
Auto Trait Implementations§
impl Freeze for AddCompilationCache
impl RefUnwindSafe for AddCompilationCache
impl Send for AddCompilationCache
impl Sync for AddCompilationCache
impl Unpin for AddCompilationCache
impl UnsafeUnpin for AddCompilationCache
impl UnwindSafe for AddCompilationCache
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