pub struct GetMocksResponseMocksItemConfig {
pub delay: Option<GetMocksResponseMocksItemConfigDelay>,
pub headers: Option<Vec<String>>,
pub match_body: Option<bool>,
pub match_query_params: Option<bool>,
pub match_wildcards: Option<bool>,
pub server_response_id: Option<String>,
}
Fields§
§delay: Option<GetMocksResponseMocksItemConfigDelay>
Information about the mock server’s simulated network delay settings. This returns a null value if there are no configured network delay settings.
headers: Option<Vec<String>>
A list of the mock server’s headers.
match_body: Option<bool>
If true, match the request body.
match_query_params: Option<bool>
If true, match query parameters.
match_wildcards: Option<bool>
If true, use wildcard variable matching.
server_response_id: Option<String>
The ID of mock server’s default response for requests. All calls to the mock server will return the defined response.
Trait Implementations§
Source§impl Clone for GetMocksResponseMocksItemConfig
impl Clone for GetMocksResponseMocksItemConfig
Source§fn clone(&self) -> GetMocksResponseMocksItemConfig
fn clone(&self) -> GetMocksResponseMocksItemConfig
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 GetMocksResponseMocksItemConfig
impl<'de> Deserialize<'de> for GetMocksResponseMocksItemConfig
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 GetMocksResponseMocksItemConfig
impl PartialEq for GetMocksResponseMocksItemConfig
Source§fn eq(&self, other: &GetMocksResponseMocksItemConfig) -> bool
fn eq(&self, other: &GetMocksResponseMocksItemConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetMocksResponseMocksItemConfig
Auto Trait Implementations§
impl Freeze for GetMocksResponseMocksItemConfig
impl RefUnwindSafe for GetMocksResponseMocksItemConfig
impl Send for GetMocksResponseMocksItemConfig
impl Sync for GetMocksResponseMocksItemConfig
impl Unpin for GetMocksResponseMocksItemConfig
impl UnwindSafe for GetMocksResponseMocksItemConfig
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