pub struct SkillPattern {
pub skill_id: String,
pub patterns: Vec<String>,
pub compiled: Vec<Regex>,
pub weight: f32,
}Expand description
Skill trigger pattern
Fields§
§skill_id: StringSkill identifier (e.g., “code-review”, “refactor”)
patterns: Vec<String>Primary trigger patterns (regex or keyword)
compiled: Vec<Regex>Compiled regex patterns
weight: f32Confidence weight (0.0 - 1.0)
Implementations§
Trait Implementations§
Source§impl Clone for SkillPattern
impl Clone for SkillPattern
Source§fn clone(&self) -> SkillPattern
fn clone(&self) -> SkillPattern
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 SkillPattern
impl RefUnwindSafe for SkillPattern
impl Send for SkillPattern
impl Sync for SkillPattern
impl Unpin for SkillPattern
impl UnsafeUnpin for SkillPattern
impl UnwindSafe for SkillPattern
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