pub struct AgentStatus {
pub agent_id: AgentId,
pub current_strategy: StrategyId,
pub health_score: f32,
pub is_stalled: bool,
pub message: String,
}Expand description
A snapshot of an Agent’s current health and performance.
Fields§
§agent_id: AgentIdThe ID of the reporting agent.
current_strategy: StrategyIdThe strategy currently being executed.
health_score: f32Health score (0.0 to 1.0). 1.0 means adhering perfectly to budget.
is_stalled: boolTrue if the agent is blocked or failed to execute.
message: StringHuman-readable status message for telemetry.
Trait Implementations§
Source§impl Clone for AgentStatus
impl Clone for AgentStatus
Source§fn clone(&self) -> AgentStatus
fn clone(&self) -> AgentStatus
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 moreAuto Trait Implementations§
impl Freeze for AgentStatus
impl RefUnwindSafe for AgentStatus
impl Send for AgentStatus
impl Sync for AgentStatus
impl Unpin for AgentStatus
impl UnwindSafe for AgentStatus
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