pub struct ReloadParams {
pub ignore_cache: Option<bool>,
pub script_to_evaluate_on_load: Option<String>,
pub loader_id: Option<LoaderId>,
}Expand description
Reloads given page optionally ignoring the cache.
Parameters of Page.reload.
Fields§
§ignore_cache: Option<bool>If true, browser cache is ignored (as if the user pressed Shift+refresh).
script_to_evaluate_on_load: Option<String>If set, the script will be injected into all frames of the inspected page after reload. Argument will be ignored if reloading dataURL origin.
loader_id: Option<LoaderId>If set, an error will be thrown if the target page’s main frame’s loader id does not match the provided id. This prevents accidentally reloading an unintended target in case there’s a racing navigation.
Experimental: may change without notice.
Trait Implementations§
Source§impl Clone for ReloadParams
impl Clone for ReloadParams
Source§impl Command for ReloadParams
impl Command for ReloadParams
Source§impl Debug for ReloadParams
impl Debug for ReloadParams
Source§impl Default for ReloadParams
impl Default for ReloadParams
Source§impl<'de> Deserialize<'de> for ReloadParams
impl<'de> Deserialize<'de> for ReloadParams
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 ReloadParams
impl PartialEq for ReloadParams
Source§impl Serialize for ReloadParams
impl Serialize for ReloadParams
impl StructuralPartialEq for ReloadParams
Auto Trait Implementations§
impl Forget for ReloadParams
impl Freeze for ReloadParams
impl RefUnwindSafe for ReloadParams
impl Send for ReloadParams
impl Sync for ReloadParams
impl Unpin for ReloadParams
impl UnsafeUnpin for ReloadParams
impl UnwindSafe for ReloadParams
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