pub struct Package {
pub name: String,
pub files: Vec<PackageFile>,
}Expand description
One installed skill: its name and every file its directory carries.
Fields§
§name: StringThe skill’s directory name.
files: Vec<PackageFile>SKILL.md first, then the reference files, sorted by path.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Package
impl Freeze for Package
impl Move for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnsafeUnpin for Package
impl UnwindSafe for Package
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