pub struct SkillProperties {
pub name: String,
pub description: String,
pub license: Option<String>,
pub compatibility: Option<String>,
pub allowed_tools: Option<String>,
pub metadata: Option<HashMap<String, Value>>,
}Expand description
Parsed properties from a SKILL.md frontmatter.
Fields§
§name: StringSkill name (kebab-case, ≤ 64 characters).
description: StringHuman-readable description (≤ 1024 characters).
license: Option<String>License identifier (e.g., "MIT").
compatibility: Option<String>Compatibility string (e.g., "Claude 3.5 and above").
allowed_tools: Option<String>Comma-separated list of allowed tools (e.g., "Bash, Read").
metadata: Option<HashMap<String, Value>>Arbitrary key-value metadata.
Trait Implementations§
Source§impl Clone for SkillProperties
impl Clone for SkillProperties
Source§fn clone(&self) -> SkillProperties
fn clone(&self) -> SkillProperties
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkillProperties
impl Debug for SkillProperties
Source§impl<'de> Deserialize<'de> for SkillProperties
impl<'de> Deserialize<'de> for SkillProperties
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SkillProperties
impl PartialEq for SkillProperties
Source§impl Serialize for SkillProperties
impl Serialize for SkillProperties
impl StructuralPartialEq for SkillProperties
Auto Trait Implementations§
impl Freeze for SkillProperties
impl RefUnwindSafe for SkillProperties
impl Send for SkillProperties
impl Sync for SkillProperties
impl Unpin for SkillProperties
impl UnsafeUnpin for SkillProperties
impl UnwindSafe for SkillProperties
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