pub struct GetMocksResponseMocksItemConfigDelay {
pub duration: Option<i64>,
pub preset: Option<Preset>,
pub get_mocks_response_mocks_item_config_delay_type: Option<GetMocksResponseMocksItemConfigDelayType>,
}
Fields§
§duration: Option<i64>
The configured delay, in milliseconds.
preset: Option<Preset>
The simulated fixed network delay value:
1
— 2G (300 ms).2
— 3G (100 ms).
The object does not return this value for custom delay values.
get_mocks_response_mocks_item_config_delay_type: Option<GetMocksResponseMocksItemConfigDelayType>
The type of simulated delay value:
fixed
— The delay value is a fixed value.
Trait Implementations§
Source§impl Clone for GetMocksResponseMocksItemConfigDelay
impl Clone for GetMocksResponseMocksItemConfigDelay
Source§fn clone(&self) -> GetMocksResponseMocksItemConfigDelay
fn clone(&self) -> GetMocksResponseMocksItemConfigDelay
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 GetMocksResponseMocksItemConfigDelay
impl<'de> Deserialize<'de> for GetMocksResponseMocksItemConfigDelay
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 PartialEq for GetMocksResponseMocksItemConfigDelay
impl PartialEq for GetMocksResponseMocksItemConfigDelay
Source§fn eq(&self, other: &GetMocksResponseMocksItemConfigDelay) -> bool
fn eq(&self, other: &GetMocksResponseMocksItemConfigDelay) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetMocksResponseMocksItemConfigDelay
Auto Trait Implementations§
impl Freeze for GetMocksResponseMocksItemConfigDelay
impl RefUnwindSafe for GetMocksResponseMocksItemConfigDelay
impl Send for GetMocksResponseMocksItemConfigDelay
impl Sync for GetMocksResponseMocksItemConfigDelay
impl Unpin for GetMocksResponseMocksItemConfigDelay
impl UnwindSafe for GetMocksResponseMocksItemConfigDelay
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