pub struct EmulateNetworkConditionsByRuleReturnObjectBuilder { /* private fields */ }Expand description
Builder for EmulateNetworkConditionsByRuleReturnObject.
Implementations§
Source§impl EmulateNetworkConditionsByRuleReturnObjectBuilder
impl EmulateNetworkConditionsByRuleReturnObjectBuilder
Sourcepub fn rule_ids(&mut self, value: Vec<String>) -> &mut Self
pub fn rule_ids(&mut self, value: Vec<String>) -> &mut Self
An id for each entry in matchedNetworkConditions. The id will be included in the requestWillBeSentExtraInfo for requests affected by a rule.
Sourcepub fn build(
&self,
) -> Result<EmulateNetworkConditionsByRuleReturnObject, EmulateNetworkConditionsByRuleReturnObjectBuilderError>
pub fn build( &self, ) -> Result<EmulateNetworkConditionsByRuleReturnObject, EmulateNetworkConditionsByRuleReturnObjectBuilderError>
Builds a new EmulateNetworkConditionsByRuleReturnObject.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for EmulateNetworkConditionsByRuleReturnObjectBuilder
impl Clone for EmulateNetworkConditionsByRuleReturnObjectBuilder
Source§fn clone(&self) -> EmulateNetworkConditionsByRuleReturnObjectBuilder
fn clone(&self) -> EmulateNetworkConditionsByRuleReturnObjectBuilder
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 moreAuto Trait Implementations§
impl Freeze for EmulateNetworkConditionsByRuleReturnObjectBuilder
impl RefUnwindSafe for EmulateNetworkConditionsByRuleReturnObjectBuilder
impl Send for EmulateNetworkConditionsByRuleReturnObjectBuilder
impl Sync for EmulateNetworkConditionsByRuleReturnObjectBuilder
impl Unpin for EmulateNetworkConditionsByRuleReturnObjectBuilder
impl UnsafeUnpin for EmulateNetworkConditionsByRuleReturnObjectBuilder
impl UnwindSafe for EmulateNetworkConditionsByRuleReturnObjectBuilder
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