pub struct CompiledTemplate {
pub name: String,
pub tier: Tier,
pub cleaned: String,
pub fragment: Value,
pub workflows: Vec<Value>,
pub skills: Vec<InlineSkill>,
pub spec: SubagentTemplate,
}Expand description
A boot-compiled template: frozen machinery + cleaned prose with
{{params.*}} holes.
Fields§
§name: String§tier: Tier§cleaned: StringProse with each machinery block replaced by its one-line note.
fragment: ValueThe :::config/:::mcp/:::stream/:::tools config subtree.
workflows: Vec<Value>The :::workflow documents.
skills: Vec<InlineSkill>§spec: SubagentTemplateTrait Implementations§
Source§impl Clone for CompiledTemplate
impl Clone for CompiledTemplate
Source§fn clone(&self) -> CompiledTemplate
fn clone(&self) -> CompiledTemplate
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 moreAuto Trait Implementations§
impl Freeze for CompiledTemplate
impl RefUnwindSafe for CompiledTemplate
impl Send for CompiledTemplate
impl Sync for CompiledTemplate
impl Unpin for CompiledTemplate
impl UnsafeUnpin for CompiledTemplate
impl UnwindSafe for CompiledTemplate
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