pub struct RecordedCall {
pub request: CallRecord,
pub response: Vec<ModelEvent>,
pub end: Option<EndRecord>,
pub first_event_at: Option<u64>,
}Expand description
One recorded model call: what went out, what came back, and how it ended.
Fields§
§request: CallRecord§response: Vec<ModelEvent>§end: Option<EndRecord>Absent when the recording stops mid-call — the process died while the stream was open. Replay reproduces that as a stream that simply ends.
first_event_at: Option<u64>When the first response record of this call was written (ms since the epoch); None when none was.
Trait Implementations§
Source§impl Clone for RecordedCall
impl Clone for RecordedCall
Auto Trait Implementations§
impl Forget for RecordedCall
impl Freeze for RecordedCall
impl Move for RecordedCall
impl RefUnwindSafe for RecordedCall
impl Send for RecordedCall
impl Sync for RecordedCall
impl Unpin for RecordedCall
impl UnsafeUnpin for RecordedCall
impl UnwindSafe for RecordedCall
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