pub enum TrajectoryEvent {
Statement(String),
Action {
name: String,
text: String,
},
}Expand description
A single event in an agent run trajectory, projected from the audit-trail event stream. The monitor only needs to know whether the agent stated something or did something, plus the text.
Variants§
Statement(String)
Something the agent observed or asserted — a tool result, an assistant message, a reasoning step. The candidate “stated fact”.
Action
An advancing action: a status transition, a commit, a success report.
name is the action / tool identifier; text is any accompanying
detail (a commit message, a status note).
Implementations§
Trait Implementations§
Source§impl Clone for TrajectoryEvent
impl Clone for TrajectoryEvent
Source§fn clone(&self) -> TrajectoryEvent
fn clone(&self) -> TrajectoryEvent
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 moreAuto Trait Implementations§
impl Freeze for TrajectoryEvent
impl RefUnwindSafe for TrajectoryEvent
impl Send for TrajectoryEvent
impl Sync for TrajectoryEvent
impl Unpin for TrajectoryEvent
impl UnsafeUnpin for TrajectoryEvent
impl UnwindSafe for TrajectoryEvent
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