pub struct SkillConfig {
pub id: String,
pub path: Path<'static>,
pub content: String,
}Expand description
Per-skill configuration loaded from a markdown file in the skills directory.
Fields§
§id: StringSkill identifier derived from the filename without the .md extension.
path: Path<'static>Absolute path to the skill markdown file.
content: StringMarkdown content of the skill file.
Trait Implementations§
Source§impl Clone for SkillConfig
impl Clone for SkillConfig
Source§fn clone(&self) -> SkillConfig
fn clone(&self) -> SkillConfig
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 SkillConfig
impl RefUnwindSafe for SkillConfig
impl Send for SkillConfig
impl Sync for SkillConfig
impl Unpin for SkillConfig
impl UnsafeUnpin for SkillConfig
impl UnwindSafe for SkillConfig
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