pub struct AgentInfo {
pub id: String,
pub name: String,
pub role: String,
pub capabilities: Vec<String>,
pub model: Option<String>,
}Expand description
Information about an AI agent in a multi-agent context
Fields§
§id: StringUnique identifier for the agent
name: StringHuman-readable name of the agent
role: StringRole/specialty of the agent
capabilities: Vec<String>Capabilities or description of what this agent does
model: Option<String>Model or provider powering this agent
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentInfo
impl<'de> Deserialize<'de> for AgentInfo
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 AgentInfo
impl RefUnwindSafe for AgentInfo
impl Send for AgentInfo
impl Sync for AgentInfo
impl Unpin for AgentInfo
impl UnwindSafe for AgentInfo
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