pub struct SkillSource {
pub name: String,
pub description: String,
pub file_path: String,
pub content: String,
pub disable_model_invocation: bool,
}Expand description
A skill as Pi’s loader discovered it; this module never discovers skills itself.
Fields§
§name: String§description: String§file_path: String§content: String§disable_model_invocation: boolTrait Implementations§
Source§impl Clone for SkillSource
impl Clone for SkillSource
Auto Trait Implementations§
impl Forget for SkillSource
impl Freeze for SkillSource
impl Move for SkillSource
impl RefUnwindSafe for SkillSource
impl Send for SkillSource
impl Sync for SkillSource
impl Unpin for SkillSource
impl UnsafeUnpin for SkillSource
impl UnwindSafe for SkillSource
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