pub struct Skill {
pub name: String,
pub description: String,
pub license: Option<String>,
pub compatibility: Option<String>,
pub metadata: BTreeMap<String, String>,
pub allowed_tools: Vec<String>,
pub body: String,
}Expand description
A named unit of agent behavior (agentskills.io format).
Fields§
§name: String§description: String§license: Option<String>§compatibility: Option<String>§metadata: BTreeMap<String, String>§allowed_tools: Vec<String>§body: StringTrait 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