pub struct DiscoveredSkill {
pub manifest: SkillManifest,
pub dir: PathBuf,
}Expand description
A discovered skill: its validated manifest and the directory it lives in.
Fields§
§manifest: SkillManifestThe parsed, validated SKILL.md manifest.
dir: PathBufThe skill’s root directory (contains SKILL.md + any bundled files).
Trait Implementations§
Source§impl Clone for DiscoveredSkill
impl Clone for DiscoveredSkill
Source§fn clone(&self) -> DiscoveredSkill
fn clone(&self) -> DiscoveredSkill
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 DiscoveredSkill
impl RefUnwindSafe for DiscoveredSkill
impl Send for DiscoveredSkill
impl Sync for DiscoveredSkill
impl Unpin for DiscoveredSkill
impl UnsafeUnpin for DiscoveredSkill
impl UnwindSafe for DiscoveredSkill
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