pub struct Reload {
pub method: ReloadMethod,
pub params: ReloadParams,
}Expand description
Reloads given page optionally ignoring the cache. reload
Fields§
§method: ReloadMethod§params: ReloadParamsImplementations§
Source§impl Reload
impl Reload
pub const IDENTIFIER: &'static str = "Page.reload"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Reload
impl CommandResult for Reload
type Result = ReloadResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Reload
impl<'de> Deserialize<'de> for Reload
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<Reload> for BrowserProtocolCommands
impl From<Reload> for BrowserProtocolCommands
Source§impl From<Reload> for PageCommands
impl From<Reload> for PageCommands
Source§impl TryFrom<BrowserProtocolCommands> for Reload
impl TryFrom<BrowserProtocolCommands> for Reload
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, <Reload as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <Reload as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for Reload
impl TryFrom<PageCommands> for Reload
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, <Reload as TryFrom<PageCommands>>::Error>
fn try_from( e: PageCommands, ) -> Result<Self, <Reload as TryFrom<PageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for Reload
Auto Trait Implementations§
impl Freeze for Reload
impl RefUnwindSafe for Reload
impl Send for Reload
impl Sync for Reload
impl Unpin for Reload
impl UnsafeUnpin for Reload
impl UnwindSafe for Reload
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