pub struct ResponseDiff {
pub recorded_text: String,
pub live_text: String,
pub recorded_events: usize,
pub live_events: usize,
pub tools: ToolDiff,
}Expand description
What changed between the recorded response and a fresh one.
Split in two because the two halves want opposite treatment: the tool half
is decided here and exactly, the text half is left for a judge that
understands wording drift (see the judge module in the test runner).
Fields§
§recorded_text: String§live_text: String§recorded_events: usize§live_events: usize§tools: ToolDiffImplementations§
Source§impl ResponseDiff
impl ResponseDiff
Trait Implementations§
Source§impl Clone for ResponseDiff
impl Clone for ResponseDiff
Source§impl Debug for ResponseDiff
impl Debug for ResponseDiff
impl Eq for ResponseDiff
Source§impl PartialEq for ResponseDiff
impl PartialEq for ResponseDiff
impl StructuralPartialEq for ResponseDiff
Auto Trait Implementations§
impl Forget for ResponseDiff
impl Freeze for ResponseDiff
impl Move for ResponseDiff
impl RefUnwindSafe for ResponseDiff
impl Send for ResponseDiffwhere
RawVecInner: Send,
impl Sync for ResponseDiffwhere
RawVecInner: Sync,
impl Unpin for ResponseDiff
impl UnsafeUnpin for ResponseDiffwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ToolStep>: UnsafeUnpin,
impl UnwindSafe for ResponseDiffwhere
RawVecInner: UnwindSafe,
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