pub struct VocabEntity {
pub id: String,
pub name: String,
pub aliases: Vec<String>,
pub frecency: f64,
pub prior: f64,
}Expand description
Something the user can name: a group/entity with display name, aliases/renames and frecency.
Ids starting with PROCESS_ID_PREFIX are single processes (they rank slightly below groups).
Fields§
§id: String§name: String§aliases: Vec<String>§frecency: f64Raw frecency score (UX §5.1), not normalized. Pinned entities carry PINNED_FRECENCY_BONUS.
prior: f64Cold-start prior from the machine profile (UX §5.4: agent CLIs and model servers detected on this
machine), used only while the entity has no frecency — so with no history “cl” means the detected
Claude Code session, not an unrelated clang. See crate::ranking::ColdStartPriors.
Trait Implementations§
Source§impl Clone for VocabEntity
impl Clone for VocabEntity
Source§impl Debug for VocabEntity
impl Debug for VocabEntity
Source§impl Default for VocabEntity
impl Default for VocabEntity
Source§impl PartialEq for VocabEntity
impl PartialEq for VocabEntity
impl StructuralPartialEq for VocabEntity
Auto Trait Implementations§
impl Forget for VocabEntity
impl Freeze for VocabEntity
impl Move for VocabEntity
impl RefUnwindSafe for VocabEntity
impl Send for VocabEntitywhere
RawVecInner: Send,
impl Sync for VocabEntitywhere
RawVecInner: Sync,
impl Unpin for VocabEntity
impl UnsafeUnpin for VocabEntitywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for VocabEntitywhere
RawVecInner: UnwindSafe,
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