Struct bdrck::http::recording::RecordingEntry
source · pub struct RecordingEntry {
pub req: RecordedRequest,
pub res: RecordedResponse,
}
Expand description
RecordingEntry represents a single entry in a recorded HTTP log, including a request and its matching response.
Fields
req: RecordedRequest
The request.
res: RecordedResponse
The matching response
Trait Implementations
sourceimpl<'de> Deserialize<'de> for RecordingEntry
impl<'de> Deserialize<'de> for RecordingEntry
sourcefn 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
sourceimpl Serialize for RecordingEntry
impl Serialize for RecordingEntry
Auto Trait Implementations
impl RefUnwindSafe for RecordingEntry
impl Send for RecordingEntry
impl Sync for RecordingEntry
impl Unpin for RecordingEntry
impl UnwindSafe for RecordingEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more