Struct headless_chrome::protocol::cdp::Network::EmulateNetworkConditions
source · pub struct EmulateNetworkConditions {
pub offline: bool,
pub latency: JsFloat,
pub download_throughput: JsFloat,
pub upload_throughput: JsFloat,
pub connection_Type: Option<ConnectionType>,
}Fields§
§offline: bool§latency: JsFloat§download_throughput: JsFloat§upload_throughput: JsFloat§connection_Type: Option<ConnectionType>Trait Implementations§
source§impl Clone for EmulateNetworkConditions
impl Clone for EmulateNetworkConditions
source§fn clone(&self) -> EmulateNetworkConditions
fn clone(&self) -> EmulateNetworkConditions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EmulateNetworkConditions
impl Debug for EmulateNetworkConditions
source§impl<'de> Deserialize<'de> for EmulateNetworkConditions
impl<'de> Deserialize<'de> for EmulateNetworkConditions
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