pub struct SkillOutcome {
pub confidence_delta: f32,
pub next_actions: Vec<NextAction>,
}Expand description
What a skill produced for one execution. The agent loop folds these
outcomes into the shared InvestigationContext.
Fields§
§confidence_delta: f32Confidence delta to apply (positive raises threat probability, negative lowers). The agent clamps the running confidence after folding the delta in.
next_actions: Vec<NextAction>Hints for subsequent skills.
Implementations§
Source§impl SkillOutcome
impl SkillOutcome
pub fn noop() -> Self
pub fn with_delta(self, d: f32) -> Self
pub fn with_next(self, a: NextAction) -> Self
Trait Implementations§
Source§impl Clone for SkillOutcome
impl Clone for SkillOutcome
Source§fn clone(&self) -> SkillOutcome
fn clone(&self) -> SkillOutcome
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 SkillOutcome
impl Debug for SkillOutcome
Source§impl Default for SkillOutcome
impl Default for SkillOutcome
Source§fn default() -> SkillOutcome
fn default() -> SkillOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SkillOutcome
impl RefUnwindSafe for SkillOutcome
impl Send for SkillOutcome
impl Sync for SkillOutcome
impl Unpin for SkillOutcome
impl UnsafeUnpin for SkillOutcome
impl UnwindSafe for SkillOutcome
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