pub struct EmulateNetworkConditionsByRule {
pub offline: bool,
pub matched_network_conditions: Vec<NetworkConditions>,
}Fields§
§offline: bool§matched_network_conditions: Vec<NetworkConditions>Trait Implementations§
Source§impl Clone for EmulateNetworkConditionsByRule
impl Clone for EmulateNetworkConditionsByRule
Source§fn clone(&self) -> EmulateNetworkConditionsByRule
fn clone(&self) -> EmulateNetworkConditionsByRule
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<'de> Deserialize<'de> for EmulateNetworkConditionsByRule
impl<'de> Deserialize<'de> for EmulateNetworkConditionsByRule
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
Source§impl Method for EmulateNetworkConditionsByRule
impl Method for EmulateNetworkConditionsByRule
const NAME: &'static str = "Network.emulateNetworkConditionsByRule"
type ReturnObject = EmulateNetworkConditionsByRuleReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for EmulateNetworkConditionsByRule
impl PartialEq for EmulateNetworkConditionsByRule
Source§fn eq(&self, other: &EmulateNetworkConditionsByRule) -> bool
fn eq(&self, other: &EmulateNetworkConditionsByRule) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EmulateNetworkConditionsByRule
Auto Trait Implementations§
impl Freeze for EmulateNetworkConditionsByRule
impl RefUnwindSafe for EmulateNetworkConditionsByRule
impl Send for EmulateNetworkConditionsByRule
impl Sync for EmulateNetworkConditionsByRule
impl Unpin for EmulateNetworkConditionsByRule
impl UnwindSafe for EmulateNetworkConditionsByRule
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