pub struct Skill {
pub name: String,
pub content: String,
pub source_url: Option<String>,
pub cache_path: Option<PathBuf>,
pub sections: HashMap<String, String>,
}Expand description
A parsed skill definition loaded from a markdown file.
Fields§
§name: StringSkill name (derived from the first heading or filename).
content: StringRaw markdown content.
source_url: Option<String>Source URL (if loaded from a remote URL).
cache_path: Option<PathBuf>Local cache path.
sections: HashMap<String, String>Extracted sections from the markdown.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Skill
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnsafeUnpin for Skill
impl UnwindSafe for Skill
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