pub struct Skill {
pub name: String,
pub description: String,
pub when_to_use: Option<String>,
pub prompt: String,
pub arguments: Vec<SkillArg>,
pub body: String,
pub source: SkillSource,
}Expand description
A loaded skill ready for invocation.
Fields§
§name: String§description: String§when_to_use: Option<String>§prompt: String§arguments: Vec<SkillArg>§body: String§source: SkillSourceTrait Implementations§
Auto Trait Implementations§
impl Freeze for Skill
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnsafeUnpin for Skill
impl UnwindSafe for Skill
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