Struct chromiumoxide_cdp::cdp::browser_protocol::emulation::SetCpuThrottlingRateParams [−][src]
pub struct SetCpuThrottlingRateParams { pub rate: f64, }
Expand description
Enables CPU throttling to emulate slow CPUs. setCPUThrottlingRate
Fields
rate: f64
Throttling rate as a slowdown factor (1 is no throttle, 2 is 2x slowdown, etc).
Implementations
Trait Implementations
The type of the response this request triggers on the chromium server
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
The whole string identifier for this method like: DOM.removeNode
The name of the domain this method belongs to: DOM
The standalone identifier of the method inside the domain: removeNode
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SetCpuThrottlingRateParams
impl Send for SetCpuThrottlingRateParams
impl Sync for SetCpuThrottlingRateParams
impl Unpin for SetCpuThrottlingRateParams
impl UnwindSafe for SetCpuThrottlingRateParams
Blanket Implementations
Mutably borrows from an owned value. Read more