Struct cdp::network::EmulateNetworkConditionsCommand [] [src]

pub struct EmulateNetworkConditionsCommand {
    pub offline: bool,
    pub latency: f64,
    pub download_throughput: f64,
    pub upload_throughput: f64,
    pub connection_type: Option<ConnectionType>,
}

Activates emulation of network conditions.

Command Network.emulateNetworkConditions

Domain Module: cdp::network
Command Struct: cdp::network::EmulateNetworkConditionsCommand
Response Struct: cdp::network::EmulateNetworkConditionsResponse

Fields

True to emulate internet disconnection.

Additional latency (ms).

Maximal aggregated download throughput.

Maximal aggregated upload throughput.

Connection type if known.

Trait Implementations

impl Clone for EmulateNetworkConditionsCommand
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EmulateNetworkConditionsCommand
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for EmulateNetworkConditionsCommand
[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 CdpCommand for EmulateNetworkConditionsCommand
[src]

COMMAND_NAME: &'static str = "Network.emulateNetworkConditions"

impl SerializeCdpCommand for EmulateNetworkConditionsCommand
[src]

[src]

[src]

impl<'de> DeserializeCdpCommand<'de> for EmulateNetworkConditionsCommand
[src]

[src]

impl<'b> HasCdpResponse<'b> for EmulateNetworkConditionsCommand
[src]