Struct cdp::network::EnableCommand
[−]
[src]
pub struct EnableCommand { pub max_total_buffer_size: Option<i32>, pub max_resource_buffer_size: Option<i32>, }
Enables network tracking, network events will now be delivered to the client.
Command Network.enable
Domain Module: cdp::network
Command Struct: cdp::network::EnableCommand
Response Struct: cdp::network::EnableResponse
Fields
max_total_buffer_size: Option<i32>
[Experimental] Buffer size in bytes to use when preserving network payloads (XHRs, etc).
max_resource_buffer_size: Option<i32>
[Experimental] Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
Trait Implementations
impl Clone for EnableCommand
[src]
fn clone(&self) -> EnableCommand
[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 Debug for EnableCommand
[src]
impl PartialEq for EnableCommand
[src]
fn eq(&self, __arg_0: &EnableCommand) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EnableCommand) -> bool
[src]
This method tests for !=
.
impl CdpCommand for EnableCommand
[src]
const COMMAND_NAME: &'static str
COMMAND_NAME: &'static str = "Network.enable"
impl SerializeCdpCommand for EnableCommand
[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> DeserializeCdpCommand<'de> for EnableCommand
[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>,