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

If true, browser cache is ignored (as if the user pressed Shift+refresh).

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ReloadCommand<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for ReloadCommand<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'a> CdpCommand for ReloadCommand<'a>
[src]

COMMAND_NAME: &'static str = "Page.reload"

impl<'a> SerializeCdpCommand for ReloadCommand<'a>
[src]

[src]

[src]

impl<'de, 'a> DeserializeCdpCommand<'de> for ReloadCommand<'a>
[src]

[src]

impl<'b, 'a> HasCdpResponse<'b> for ReloadCommand<'a>
[src]