pub struct SkillMatch {
pub dedup_key: String,
pub skill_id: SkillId,
pub trigger_score: f64,
pub confidence: f64,
pub relevance: f64,
pub description: String,
pub step_count: usize,
}Expand description
A scored skill match for the current context.
Fields§
§dedup_key: StringThe matched skill’s dedup key.
skill_id: SkillIdThe matched skill’s ID.
trigger_score: f64How well the current context matches the trigger [0.0, 1.0].
confidence: f64The skill’s confidence.
relevance: f64Combined relevance score = trigger_score * confidence.
description: StringHuman-readable description.
step_count: usizeNumber of steps.
Trait Implementations§
Source§impl Clone for SkillMatch
impl Clone for SkillMatch
Source§fn clone(&self) -> SkillMatch
fn clone(&self) -> SkillMatch
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 SkillMatch
impl RefUnwindSafe for SkillMatch
impl Send for SkillMatch
impl Sync for SkillMatch
impl Unpin for SkillMatch
impl UnsafeUnpin for SkillMatch
impl UnwindSafe for SkillMatch
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