pub struct SkillMetadata {
pub name: String,
pub description: String,
pub license: Option<String>,
pub compatibility: Option<String>,
pub metadata: BTreeMap<String, String>,
pub allowed_tools: Option<String>,
pub disable_model_invocation: Option<bool>,
pub user_invocable: Option<bool>,
}Expand description
Validated Agent Skill metadata.
Fields§
§name: StringSkill name and directory name.
description: StringWhat the skill does and when an agent should use it.
license: Option<String>License name or reference to a bundled license file.
compatibility: Option<String>Optional environment requirements.
metadata: BTreeMap<String, String>Extension metadata defined by clients or skill authors.
allowed_tools: Option<String>Experimental, space-separated pre-approved tool declarations.
disable_model_invocation: Option<bool>Claude-compatible extension that prevents automatic model invocation.
user_invocable: Option<bool>Claude-compatible extension that controls direct user invocation.
Trait Implementations§
Source§impl Clone for SkillMetadata
impl Clone for SkillMetadata
Source§fn clone(&self) -> SkillMetadata
fn clone(&self) -> SkillMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SkillMetadata
impl Debug for SkillMetadata
Source§impl<'de> Deserialize<'de> for SkillMetadata
impl<'de> Deserialize<'de> for SkillMetadata
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
impl Eq for SkillMetadata
Source§impl PartialEq for SkillMetadata
impl PartialEq for SkillMetadata
impl StructuralPartialEq for SkillMetadata
Auto Trait Implementations§
impl Freeze for SkillMetadata
impl RefUnwindSafe for SkillMetadata
impl Send for SkillMetadata
impl Sync for SkillMetadata
impl Unpin for SkillMetadata
impl UnsafeUnpin for SkillMetadata
impl UnwindSafe for SkillMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.