pub struct SkillCandidate {
pub slug: String,
pub title: String,
pub body: String,
pub category: String,
pub recurrence: u32,
pub confidence: f32,
pub sources: Vec<String>,
pub derivation: Derivation,
}Expand description
A distilled pattern mined from a project’s memory, before the gate decides whether it is durable enough to become a rule.
Fields§
§slug: StringNormalized, prefix-free slug (e.g. stop-before-build).
title: StringOne-line human title (becomes the rule description).
body: StringThe actionable body of the rule.
category: StringOrigin category (decision / insight / convention / …).
recurrence: u32How many sources reinforced this pattern (confirmations + mentions).
confidence: f32Highest source confidence (0.0..=1.0).
sources: Vec<String>Provenance: source session ids / agent ids.
derivation: DerivationThe stored items the candidate was distilled from, for the source
binding of its rule file (provenance).
Trait Implementations§
Source§impl Clone for SkillCandidate
impl Clone for SkillCandidate
Auto Trait Implementations§
impl Forget for SkillCandidate
impl Freeze for SkillCandidate
impl Move for SkillCandidate
impl RefUnwindSafe for SkillCandidate
impl Send for SkillCandidate
impl Sync for SkillCandidate
impl Unpin for SkillCandidate
impl UnsafeUnpin for SkillCandidate
impl UnwindSafe for SkillCandidate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more