Struct cdp::page::ReloadCommand
[−]
[src]
pub struct ReloadCommand<'a> { pub ignore_cache: Option<bool>, pub script_to_evaluate_on_load: Option<Cow<'a, str>>, }
Reloads given page optionally ignoring the cache.
Command Page.reload
Domain Module: cdp::page
Command Struct: cdp::page::ReloadCommand
Response Struct: cdp::page::ReloadResponse
Fields
ignore_cache: Option<bool>
If true, browser cache is ignored (as if the user pressed Shift+refresh).
script_to_evaluate_on_load: Option<Cow<'a, str>>
If set, the script will be injected into all frames of the inspected page after reload.
Trait Implementations
impl<'a> Clone for ReloadCommand<'a>
[src]
fn clone(&self) -> ReloadCommand<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Debug for ReloadCommand<'a>
[src]
impl<'a> PartialEq for ReloadCommand<'a>
[src]
fn eq(&self, __arg_0: &ReloadCommand<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ReloadCommand<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> CdpCommand for ReloadCommand<'a>
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Page.reload"
impl<'a> SerializeCdpCommand for ReloadCommand<'a>
[src]
fn command_name(&self) -> &str
[src]
fn serialize_command_params<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
impl<'de, 'a> DeserializeCdpCommand<'de> for ReloadCommand<'a>
[src]
fn deserialize_command<D>(
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,
[src]
name: &str,
params: D
) -> Result<Result<Self, D::Error>, D> where
D: Deserializer<'de>,