pub struct AgentInfo {
pub id: String,
pub name: String,
pub status: String,
pub last_activity: DateTime<Utc>,
pub role: AgentRole,
pub capabilities: Vec<String>,
pub workspace_dir: Option<PathBuf>,
pub execution_mode: AgentExecutionMode,
}Expand description
Public agent info for status queries
Fields§
§id: StringUnique agent identifier
name: StringHuman-readable agent name
status: StringCurrent status string
last_activity: DateTime<Utc>Last activity timestamp
role: AgentRoleSpecialist role assigned to the agent.
capabilities: Vec<String>Capability tags advertised by the agent.
workspace_dir: Option<PathBuf>Optional workspace path bound to the agent.
execution_mode: AgentExecutionModeExecution mode for the 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