pub struct ProbePoint {
pub message_index: usize,
pub call_index: usize,
pub denied: Option<(String, Value)>,
}Expand description
Where an intervention lives in a recorded conversation, in both the coordinates that matter: the message index (for truncating the transcript) and the call index (for reading a replay’s divergences against it).
Fields§
§message_index: usizeIndex of the user message the intervention arrived in.
call_index: usizeHow many tool calls the recording holds before the intervention — i.e. the cursor position at which the counterfactual becomes interesting.
denied: Option<(String, Value)>For a denial: the call the user refused. None for a steer.
Trait Implementations§
Source§impl Clone for ProbePoint
impl Clone for ProbePoint
Source§fn clone(&self) -> ProbePoint
fn clone(&self) -> ProbePoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProbePoint
impl Debug for ProbePoint
Source§impl PartialEq for ProbePoint
impl PartialEq for ProbePoint
impl StructuralPartialEq for ProbePoint
Auto Trait Implementations§
impl Freeze for ProbePoint
impl RefUnwindSafe for ProbePoint
impl Send for ProbePoint
impl Sync for ProbePoint
impl Unpin for ProbePoint
impl UnsafeUnpin for ProbePoint
impl UnwindSafe for ProbePoint
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