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 RecordedCallwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<BlobId>: Freeze,
PhantomData<InputSpan>: Freeze,
PhantomData<ModelEvent>: Freeze,
impl Move for RecordedCall
impl RefUnwindSafe for RecordedCall
impl Send for RecordedCall
impl Sync for RecordedCall
impl Unpin for RecordedCall
impl UnsafeUnpin for RecordedCallwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<BlobId>: UnsafeUnpin,
PhantomData<InputSpan>: UnsafeUnpin,
PhantomData<ModelEvent>: UnsafeUnpin,
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