pub struct AnthropicFrontmatter {
pub name: Option<String>,
pub description: Option<String>,
pub license: Option<String>,
pub compatibility: Option<String>,
pub metadata: HashMap<String, String>,
pub allowed_tools: Option<String>,
}Expand description
Anthropic Agent Skills spec frontmatter (YAML in SKILL.md).
Fields§
§name: Option<String>§description: Option<String>§license: Option<String>§compatibility: Option<String>§metadata: HashMap<String, String>§allowed_tools: Option<String>Space-delimited allowed tools string, e.g. “Bash(git:*) Read”
Trait Implementations§
Source§impl Clone for AnthropicFrontmatter
impl Clone for AnthropicFrontmatter
Source§fn clone(&self) -> AnthropicFrontmatter
fn clone(&self) -> AnthropicFrontmatter
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 AnthropicFrontmatter
impl Debug for AnthropicFrontmatter
Source§impl Default for AnthropicFrontmatter
impl Default for AnthropicFrontmatter
Source§fn default() -> AnthropicFrontmatter
fn default() -> AnthropicFrontmatter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnthropicFrontmatter
impl<'de> Deserialize<'de> for AnthropicFrontmatter
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
Auto Trait Implementations§
impl Freeze for AnthropicFrontmatter
impl RefUnwindSafe for AnthropicFrontmatter
impl Send for AnthropicFrontmatter
impl Sync for AnthropicFrontmatter
impl Unpin for AnthropicFrontmatter
impl UnsafeUnpin for AnthropicFrontmatter
impl UnwindSafe for AnthropicFrontmatter
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