pub struct EmbeddedFile {
pub relative_path: &'static str,
pub contents: &'static str,
}Expand description
One file of an embedded skill, addressed relative to the skill’s folder.
Fields§
§relative_path: &'static strPath relative to skills/<name>/ (forward slashes), e.g. SKILL.md.
contents: &'static strThe embedded file contents.
Auto Trait Implementations§
impl Freeze for EmbeddedFile
impl RefUnwindSafe for EmbeddedFile
impl Send for EmbeddedFile
impl Sync for EmbeddedFile
impl Unpin for EmbeddedFile
impl UnsafeUnpin for EmbeddedFile
impl UnwindSafe for EmbeddedFile
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