pub struct SubagentFrontmatter {
pub name: String,
pub description: String,
pub tools: Option<String>,
pub model: Option<String>,
pub permission_mode: Option<String>,
pub skills: Option<String>,
}Expand description
YAML frontmatter parsed from subagent markdown file
Fields§
§name: StringUnique identifier (lowercase, hyphens allowed)
description: StringNatural language description of when to use this subagent
tools: Option<String>Comma-separated list of allowed tools (inherits all if omitted)
model: Option<String>Model to use (alias, model ID, or “inherit”)
permission_mode: Option<String>Permission mode for tool execution
skills: Option<String>Comma-separated list of skills to auto-load
Trait Implementations§
Source§impl Clone for SubagentFrontmatter
impl Clone for SubagentFrontmatter
Source§fn clone(&self) -> SubagentFrontmatter
fn clone(&self) -> SubagentFrontmatter
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 SubagentFrontmatter
impl Debug for SubagentFrontmatter
Source§impl<'de> Deserialize<'de> for SubagentFrontmatter
impl<'de> Deserialize<'de> for SubagentFrontmatter
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 SubagentFrontmatter
impl RefUnwindSafe for SubagentFrontmatter
impl Send for SubagentFrontmatter
impl Sync for SubagentFrontmatter
impl Unpin for SubagentFrontmatter
impl UnwindSafe for SubagentFrontmatter
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