pub struct AgentInfo {
pub id: String,
pub display_name: String,
pub kind: AgentKind,
pub status: AgentHubStatus,
pub current_task: Option<String>,
}Expand description
Unstable (feature: agent-hub) — may change or be removed
Agent-pool source for Hub display + todo sub-agent matching.
Read-only agent info for Hub display.Fields§
§id: StringUnique identifier.
display_name: StringDisplay name.
kind: AgentKindAgent kind.
status: AgentHubStatusCurrent status.
current_task: Option<String>Current task description (if any).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentInfo
impl RefUnwindSafe for AgentInfo
impl Send for AgentInfo
impl Sync for AgentInfo
impl Unpin for AgentInfo
impl UnsafeUnpin 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