pub struct PackAgentBinding {
pub enabled: Option<bool>,
pub profile: String,
pub adapter: Option<String>,
pub format: Option<String>,
pub token_budget: Option<i32>,
pub prompt_md: String,
pub toolsets: Vec<String>,
pub description: Option<String>,
pub tags: Vec<String>,
}Expand description
Pack agent binding - wires toolsets and prompts to an agent role. Not to be confused with ast::AgentDef which defines agent capabilities.
Fields§
§enabled: Option<bool>§profile: String§adapter: Option<String>§format: Option<String>§token_budget: Option<i32>§prompt_md: String§toolsets: Vec<String>§description: Option<String>Human-readable description of what this agent does. Used for SKILL.md description, A2A Agent Card, AGENTS.md, and progressive disclosure.
Tags for skill discovery and categorization (e.g., [“code-review”, “security”]).
Trait Implementations§
Source§impl Clone for PackAgentBinding
impl Clone for PackAgentBinding
Source§fn clone(&self) -> PackAgentBinding
fn clone(&self) -> PackAgentBinding
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 PackAgentBinding
impl Debug for PackAgentBinding
Source§impl<'de> Deserialize<'de> for PackAgentBinding
impl<'de> Deserialize<'de> for PackAgentBinding
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 PackAgentBinding
impl RefUnwindSafe for PackAgentBinding
impl Send for PackAgentBinding
impl Sync for PackAgentBinding
impl Unpin for PackAgentBinding
impl UnwindSafe for PackAgentBinding
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