pub struct PostMocksResponseMockConfig {
pub delay: Option<PostMocksResponseMockConfigDelay>,
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<PostMocksResponseMockConfigDelay>
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 PostMocksResponseMockConfig
impl Clone for PostMocksResponseMockConfig
Source§fn clone(&self) -> PostMocksResponseMockConfig
fn clone(&self) -> PostMocksResponseMockConfig
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 Debug for PostMocksResponseMockConfig
impl Debug for PostMocksResponseMockConfig
Source§impl<'de> Deserialize<'de> for PostMocksResponseMockConfig
impl<'de> Deserialize<'de> for PostMocksResponseMockConfig
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
impl StructuralPartialEq for PostMocksResponseMockConfig
Auto Trait Implementations§
impl Freeze for PostMocksResponseMockConfig
impl RefUnwindSafe for PostMocksResponseMockConfig
impl Send for PostMocksResponseMockConfig
impl Sync for PostMocksResponseMockConfig
impl Unpin for PostMocksResponseMockConfig
impl UnwindSafe for PostMocksResponseMockConfig
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