pub struct EmulateNetworkConditionsByRuleReturns {
pub ruleIds: Vec<String>,
}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.
Fields§
§ruleIds: Vec<String>An id for each entry in matchedNetworkConditions. The id will be included in the requestWillBeSentExtraInfo for requests affected by a rule.
Trait Implementations§
Source§impl Clone for EmulateNetworkConditionsByRuleReturns
impl Clone for EmulateNetworkConditionsByRuleReturns
Source§fn clone(&self) -> EmulateNetworkConditionsByRuleReturns
fn clone(&self) -> EmulateNetworkConditionsByRuleReturns
Returns a duplicate 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 Default for EmulateNetworkConditionsByRuleReturns
impl Default for EmulateNetworkConditionsByRuleReturns
Source§fn default() -> EmulateNetworkConditionsByRuleReturns
fn default() -> EmulateNetworkConditionsByRuleReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmulateNetworkConditionsByRuleReturns
impl<'de> Deserialize<'de> for EmulateNetworkConditionsByRuleReturns
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 Freeze for EmulateNetworkConditionsByRuleReturns
impl RefUnwindSafe for EmulateNetworkConditionsByRuleReturns
impl Send for EmulateNetworkConditionsByRuleReturns
impl Sync for EmulateNetworkConditionsByRuleReturns
impl Unpin for EmulateNetworkConditionsByRuleReturns
impl UnsafeUnpin for EmulateNetworkConditionsByRuleReturns
impl UnwindSafe for EmulateNetworkConditionsByRuleReturns
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