pub struct SkillFile {
pub rel_path: PathBuf,
pub bytes: Vec<u8>,
}Expand description
A single file bundled inside a skill.
Fields§
§rel_path: PathBufPath relative to the skill’s root directory (e.g. SKILL.md, scripts/tool.py).
bytes: Vec<u8>Raw file bytes.
Implementations§
Trait Implementations§
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