pub struct GetMocksMockIdResponseMockConfig {
pub headers: Option<Vec<Option<Value>>>,
pub match_body: Option<bool>,
pub match_query_params: Option<bool>,
pub match_wildcards: Option<bool>,
pub server_response_id: Option<String>,
}
Fields§
§headers: Option<Vec<Option<Value>>>
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 GetMocksMockIdResponseMockConfig
impl Clone for GetMocksMockIdResponseMockConfig
Source§fn clone(&self) -> GetMocksMockIdResponseMockConfig
fn clone(&self) -> GetMocksMockIdResponseMockConfig
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 GetMocksMockIdResponseMockConfig
impl<'de> Deserialize<'de> for GetMocksMockIdResponseMockConfig
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 GetMocksMockIdResponseMockConfig
impl PartialEq for GetMocksMockIdResponseMockConfig
Source§fn eq(&self, other: &GetMocksMockIdResponseMockConfig) -> bool
fn eq(&self, other: &GetMocksMockIdResponseMockConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetMocksMockIdResponseMockConfig
Auto Trait Implementations§
impl Freeze for GetMocksMockIdResponseMockConfig
impl RefUnwindSafe for GetMocksMockIdResponseMockConfig
impl Send for GetMocksMockIdResponseMockConfig
impl Sync for GetMocksMockIdResponseMockConfig
impl Unpin for GetMocksMockIdResponseMockConfig
impl UnwindSafe for GetMocksMockIdResponseMockConfig
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