pub struct TrackedAction {
pub action_type: AgentActionType,
pub target: String,
pub timestamp: Instant,
pub session_id: String,
pub risk_score: f64,
}Expand description
A single agent action tracked for correlation analysis.
Fields§
§action_type: AgentActionTypeType of agent action.
target: StringTarget of the action (tool name, URL, file path, etc.).
timestamp: InstantWhen the action occurred.
session_id: StringSession this action belongs to.
risk_score: f64Risk score assigned to this action (0.0 - 1.0).
Trait Implementations§
Source§impl Clone for TrackedAction
impl Clone for TrackedAction
Source§fn clone(&self) -> TrackedAction
fn clone(&self) -> TrackedAction
Returns a duplicate of the value. Read more
1.0.0 · 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 TrackedAction
impl RefUnwindSafe for TrackedAction
impl Send for TrackedAction
impl Sync for TrackedAction
impl Unpin for TrackedAction
impl UnsafeUnpin for TrackedAction
impl UnwindSafe for TrackedAction
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