pub struct EmulateNetworkConditionsByRuleReturns<'a> { /* private fields */ }Expand description
Activates emulation of network conditions for individual requests using URL match patterns. Unlike the deprecated Network.emulateNetworkConditions this method does not affect ‘navigator’ state. Use Network.overrideNetworkState to explicitly modify ‘navigator’ behavior.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for EmulateNetworkConditionsByRuleReturns<'a>
impl<'a> Clone for EmulateNetworkConditionsByRuleReturns<'a>
Source§fn clone(&self) -> EmulateNetworkConditionsByRuleReturns<'a>
fn clone(&self) -> EmulateNetworkConditionsByRuleReturns<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for EmulateNetworkConditionsByRuleReturns<'a>
impl<'a> Debug for EmulateNetworkConditionsByRuleReturns<'a>
Source§impl<'a> Default for EmulateNetworkConditionsByRuleReturns<'a>
impl<'a> Default for EmulateNetworkConditionsByRuleReturns<'a>
Source§fn default() -> EmulateNetworkConditionsByRuleReturns<'a>
fn default() -> EmulateNetworkConditionsByRuleReturns<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for EmulateNetworkConditionsByRuleReturns<'a>
impl<'de, 'a> Deserialize<'de> for EmulateNetworkConditionsByRuleReturns<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for EmulateNetworkConditionsByRuleReturns<'a>
impl<'a> RefUnwindSafe for EmulateNetworkConditionsByRuleReturns<'a>
impl<'a> Send for EmulateNetworkConditionsByRuleReturns<'a>
impl<'a> Sync for EmulateNetworkConditionsByRuleReturns<'a>
impl<'a> Unpin for EmulateNetworkConditionsByRuleReturns<'a>
impl<'a> UnsafeUnpin for EmulateNetworkConditionsByRuleReturns<'a>
impl<'a> UnwindSafe for EmulateNetworkConditionsByRuleReturns<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more