pub struct PostMocksResponseMockConfigDelay {
pub duration: Option<i64>,
pub preset: Option<Preset>,
pub post_mocks_response_mock_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.
post_mocks_response_mock_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 PostMocksResponseMockConfigDelay
impl Clone for PostMocksResponseMockConfigDelay
Source§fn clone(&self) -> PostMocksResponseMockConfigDelay
fn clone(&self) -> PostMocksResponseMockConfigDelay
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 PostMocksResponseMockConfigDelay
impl<'de> Deserialize<'de> for PostMocksResponseMockConfigDelay
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 PostMocksResponseMockConfigDelay
impl PartialEq for PostMocksResponseMockConfigDelay
Source§fn eq(&self, other: &PostMocksResponseMockConfigDelay) -> bool
fn eq(&self, other: &PostMocksResponseMockConfigDelay) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PostMocksResponseMockConfigDelay
Auto Trait Implementations§
impl Freeze for PostMocksResponseMockConfigDelay
impl RefUnwindSafe for PostMocksResponseMockConfigDelay
impl Send for PostMocksResponseMockConfigDelay
impl Sync for PostMocksResponseMockConfigDelay
impl Unpin for PostMocksResponseMockConfigDelay
impl UnwindSafe for PostMocksResponseMockConfigDelay
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