pub struct RequestExecutionResult {
pub request_id: EntityId,
pub response: Option<MockResponse>,
pub duration_ms: u64,
pub success: bool,
pub error: Option<String>,
}
Expand description
Request execution result
Fields§
§request_id: EntityId
Request ID that was executed
response: Option<MockResponse>
Response that was returned
duration_ms: u64
Execution duration in milliseconds
success: bool
Whether execution was successful
error: Option<String>
Error message if execution failed
Trait Implementations§
Source§impl Clone for RequestExecutionResult
impl Clone for RequestExecutionResult
Source§fn clone(&self) -> RequestExecutionResult
fn clone(&self) -> RequestExecutionResult
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 moreAuto Trait Implementations§
impl Freeze for RequestExecutionResult
impl RefUnwindSafe for RequestExecutionResult
impl Send for RequestExecutionResult
impl Sync for RequestExecutionResult
impl Unpin for RequestExecutionResult
impl UnwindSafe for RequestExecutionResult
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