pub struct PackageFile {
pub path: String,
pub bytes: &'static [u8],
pub shared: bool,
}Expand description
One file of an installed skill package.
Fields§
§path: StringThe path relative to the skill directory, as it lands.
bytes: &'static [u8]The embedded bytes that belong there.
Whether the file is a copy of a shared artifact rather than the skill’s own.
Trait Implementations§
Source§impl Clone for PackageFile
impl Clone for PackageFile
Source§impl Debug for PackageFile
impl Debug for PackageFile
impl Eq for PackageFile
Source§impl PartialEq for PackageFile
impl PartialEq for PackageFile
impl StructuralPartialEq for PackageFile
Auto Trait Implementations§
impl Forget for PackageFile
impl Freeze for PackageFile
impl Move for PackageFile
impl RefUnwindSafe for PackageFile
impl Send for PackageFile
impl Sync for PackageFile
impl Unpin for PackageFile
impl UnsafeUnpin for PackageFile
impl UnwindSafe for PackageFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.