Struct apimock::config::PathConfig
source · pub struct PathConfig {
pub code: StatusCode,
pub headers: Option<Vec<String>>,
pub data_src: Option<String>,
pub data_text: Option<String>,
pub response_wait_more_millis: u64,
}Expand description
response content related to api uri path
Fields§
§code: StatusCode§headers: Option<Vec<String>>§data_src: Option<String>§data_text: Option<String>§response_wait_more_millis: u64Trait Implementations§
source§impl Clone for PathConfig
impl Clone for PathConfig
source§fn clone(&self) -> PathConfig
fn clone(&self) -> PathConfig
Returns a copy 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 Default for PathConfig
impl Default for PathConfig
source§fn default() -> PathConfig
fn default() -> PathConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PathConfig
impl RefUnwindSafe for PathConfig
impl Send for PathConfig
impl Sync for PathConfig
impl Unpin for PathConfig
impl UnwindSafe for PathConfig
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