pub struct ResponseHistoryEntry {
pub id: String,
pub executed_at: DateTime<Utc>,
pub request_method: HttpMethod,
pub request_path: String,
pub request_headers: HashMap<String, String>,
pub request_body: Option<String>,
pub response_status_code: u16,
pub response_headers: HashMap<String, String>,
pub response_body: Option<String>,
pub response_time_ms: u64,
pub response_size_bytes: u64,
pub error_message: Option<String>,
}
Expand description
Response history entry for tracking actual request executions
Fields§
§id: String
Unique execution ID
executed_at: DateTime<Utc>
Execution timestamp
request_method: HttpMethod
Actual request method used
request_path: String
Actual request path used
request_headers: HashMap<String, String>
Request headers sent
request_body: Option<String>
Request body sent
response_status_code: u16
Response status code received
response_headers: HashMap<String, String>
Response headers received
response_body: Option<String>
Response body received
response_time_ms: u64
Response time in milliseconds
response_size_bytes: u64
Response size in bytes
error_message: Option<String>
Error message if execution failed
Trait Implementations§
Source§impl Clone for ResponseHistoryEntry
impl Clone for ResponseHistoryEntry
Source§fn clone(&self) -> ResponseHistoryEntry
fn clone(&self) -> ResponseHistoryEntry
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 ResponseHistoryEntry
impl Debug for ResponseHistoryEntry
Source§impl<'de> Deserialize<'de> for ResponseHistoryEntry
impl<'de> Deserialize<'de> for ResponseHistoryEntry
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
Auto Trait Implementations§
impl Freeze for ResponseHistoryEntry
impl RefUnwindSafe for ResponseHistoryEntry
impl Send for ResponseHistoryEntry
impl Sync for ResponseHistoryEntry
impl Unpin for ResponseHistoryEntry
impl UnwindSafe for ResponseHistoryEntry
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