pub struct SkillFile {
pub path: String,
pub title: String,
pub tags: Vec<String>,
pub has_frontmatter: bool,
}Expand description
Metadata for a single Skills file
Contains information extracted from a Skills file’s frontmatter and file system metadata.
Fields§
§path: StringRelative path to the Skills file from the steering directory
Example: “rules/tr-userid-best-practices.md”
title: StringTitle of the Skills file from frontmatter
Falls back to filename if no title is present in frontmatter.
Tags associated with this Skills file
Tags are used for categorization and discovery. Examples: “tool-router”, “security”, “authentication”
has_frontmatter: boolWhether the file has valid YAML frontmatter
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SkillFile
impl<'de> Deserialize<'de> for SkillFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SkillFile
impl RefUnwindSafe for SkillFile
impl Send for SkillFile
impl Sync for SkillFile
impl Unpin for SkillFile
impl UnsafeUnpin for SkillFile
impl UnwindSafe for SkillFile
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