pub struct AgentInfo {
pub id: String,
pub status: AgentStatus,
pub specialization: String,
pub fitness: f64,
}Expand description
Information about an agent in the fleet.
Fields§
§id: String§status: AgentStatus§specialization: String§fitness: f64Trait 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