pub struct AgentInfo {
pub id: AgentId,
pub name: String,
pub kind: AgentKind,
pub state: AgentState,
pub capabilities: CapabilitySet,
pub resource_limits: ResourceLimits,
pub metrics: AgentMetrics,
pub spawned_at: DateTime<Utc>,
}Expand description
Metadata and state for an agent process. Agents are first-class citizens in Beyonder — they have lifecycle, resource limits, and capability sets, analogous to OS processes.
Fields§
§id: AgentId§name: String§kind: AgentKind§state: AgentState§capabilities: CapabilitySet§resource_limits: ResourceLimits§metrics: AgentMetrics§spawned_at: DateTime<Utc>Implementations§
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 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