pub struct AgentInfo {
pub id: String,
pub name: String,
pub base_url: String,
pub description: Option<String>,
pub capabilities: Vec<String>,
pub metadata: HashMap<String, Value>,
pub online: bool,
pub last_seen: Option<String>,
}Expand description
Information about a registered agent
Fields§
§id: StringUnique agent identifier
name: StringAgent display name
base_url: StringBase URL for agent communication
description: Option<String>Agent description
capabilities: Vec<String>Supported actions/tools
metadata: HashMap<String, Value>Agent metadata (version, tags, etc.)
online: boolWhether agent is currently online
last_seen: Option<String>Last heartbeat/update timestamp
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